iOS dev
@iosdevio
10.8K
subscribers
12
photos
5
files
6.07K
links
There is a single sponsored link in each issue (monday).
One sponsor per issue.
Every sponsored link should be highly relevant to Apple ecosystem app development.
Sponsored link price - 100$
Contact:
@tigorn
Download Telegram
Join
iOS dev
10.8K subscribers
iOS dev
https://www.avanderlee.com/swift/compactmap-flatmap-differences-explained/
SwiftLee
CompactMap vs flatMap: The differences explained
The differences between compactMap and flatMap explained with examples and a rule of thumb to decide whether you need map, flatMap or compactMap.
iOS dev
https://qualitycoding.org/refactor-small-steps/
Quality Coding
When You Refactor, Are You Using Small Steps? | Quality Coding
Many say "refactoring" to mean "rewriting." But here's an example showing refactoring in small steps, verifying each step with unit tests.
iOS dev
https://martiancraft.com/blog/2018/08/Implementing-custom-key-strategy-for-coding-types/
Martiancraft
Implementing a custom key strategy for Coding types
Our @richturton walks you through implementing a custom key strategy for coding types.
iOS dev
https://nshipster.com/nsdataasset/
NSHipster
NSDataAsset
There are many ways to speed up a network request: compressing and streaming, caching and prefetching, reducing and inlining, connection pooling and multiplexing, deferring and backgrounding. And yet there’s one optimization strategy that both predates and…
iOS dev
https://www.raywenderlich.com/5743-dynamic-features-in-swift?utm_campaign=iOS%2BDev%2BWeekly&utm_medium=web&utm_source=iOS%2BDev%2BWeekly%2BIssue%2B367
kodeco.com
Dynamic Features in Swift
In this tutorial, you’ll learn to use dynamic features in Swift to write clean code, create code clarity and resolve unforeseen issues quickly.
iOS dev
https://medium.com/cocoaacademymag/how-use-state-design-pattern-to-create-a-stateful-viewcontroller-78c224781918
Medium
How use State Design Pattern to create a Stateful ViewController?
What the hell
🔥
is a Stateful ViewController? A Stateful ViewController is then name given by us to a ViewController that has many states…
iOS dev
https://agostini.tech/2018/08/26/detecting-directed-cycles-in-edge-weighted-digraphs/
agostini.tech
Detecting Directed Cycles In Edge Weighted Digraphs | agostini.tech
In this article we'll talk about detecting directed cycles in edge weighted digraphs and we'll implement the solution in swift.
iOS dev
https://oleb.net/2018/dont-call-description/
oleb.net
Why you’re not supposed to call description – Ole Begemann
The documentation for the <code>CustomStringConvertible</code> protocol discourages accessing a value’s <code>description</code> property directly. Instead, you’re supposed to call <code>String(describing:)</code>. Why?
iOS dev
https://www.swiftbysundell.com/posts/enum-iterations-in-swift-42
Swift by Sundell
Enum iterations in Swift | Swift by Sundell
With each new release, Swift keeps getting better and better at creating compiler-generated implementations of common boilerplate. One such new feature in Swift 4.2 is the new CaseIterable protocol - that enables us to tell the compiler to automatically synthesize…
iOS dev
http://khanlou.com/2018/08/similar-prefixes/
Similar Prefixes
iOS dev
https://swiftrocks.com/lazy-sequences-in-swift-and-how-they-work.html
Swiftrocks
Lazy Sequences in Swift And How They Work
Usage of high-order functions like map and filter are very common in Swift projects, as they are simple algorithms that allow you to convert extensive ideas into simple one-liners. Unfortunately, they don't solve every issue - at least not in their default…
iOS dev
https://nspredicate.xyz/
iOS dev
http://alisoftware.github.io/swift/protocols/2018/09/02/protocols-private-properties/
Crunchy Development
Private properties in protocols
Making your Swift code more fun
🎉
, magical
✨
and crunchier
👌
iOS dev
https://www.appcoda.com/design-pattern-structural
AppCoda
Facade and Adapter Pattern in Swift | Design Pattern Series
In this tutorial, I'll explain two examples of patterns in the "structural" category: facade and adapter. You will learn by building a simple Playgrounds project.
iOS dev
https://www.raywenderlich.com/5817-background-modes-tutorial-getting-started
kodeco.com
Background Modes Tutorial: Getting Started
In this tutorial, you’ll create an app that uses audio playback, location updates, critical tasks, and background fetch to learn about the most common background modes.
iOS dev
https://www.objc.io/blog/2018/09/04/switching-with-associated-values/
www.objc.io
Swift Tip: Switching with Associated Values
Some tips for writing concise switch statements
iOS dev
https://medium.muz.li/designing-notifications-for-applications-3cad56fecf96
Medium
Designing notifications for apps
Explore different notification models and when to use which
iOS dev
http://tworingsoft.com/blog/2018/09/04/do-try-result-oriented-error-propagation.html
Two Ring Software
Two Ring Software % Blog % do try Antitypical's Result to catch Async Errors in Swift % 4 September 2018
Reviewing my foray into using Result for error handling in Swift, and my realization of a particular use case it solves well.
iOS dev
http://metalbyexample.com/modelio-materials/
Metal by Example
Rendering Physically-Based ModelIO Materials
In this article, we’ll take a look at a portion of the ModelIO framework we haven’t used so far: materials. In previous articles, we’ve used ModelIO to do the heavy lifting of loa…
iOS dev
http://metalbyexample.com/modern-metal-1/
Metal by Example
Writing a Modern Metal App from Scratch: Part 1
Getting Started This article is a quick introduction to how to use the Metal, MetalKit, and Model I/O frameworks in Swift. If you know your way around UIKit or Cocoa development, you should be able…
iOS dev
http://metalbyexample.com/modern-metal-2/
Metal by Example
Writing a Modern Metal App from Scratch: Part 2
In the previous article, we wrote enough Metal code to get the spinning silhouette of a teapot on the screen, but that still leaves a lot to be desired as far as a “modern” app is conce…