Swift Developments is a hand-curated newsletter containing a weekly selection of the best links, videos, tools and tutorials for people interested in designing and developing their own apps using Swift.
Business
Keeping a Healthy Mind as an Indie Developer
Some useful tips from @dilmergames on how to stay sane as an indie developer.
dilmergames.com
Swift
Matching NSError
@jemmons looks at the problem of pattern matching and NSError
‘s in Swift. The solution turns out to be much easier than you might have
imagined.
figure.ink
Core Graphics Codable Conformance
@zntfdr has discovered a nice little suprise in Xcode 9 Beta 3 onwards… all the Core Graphics geometric data types are now Codable conformant!
medium.com
Code
Taming Great Complexity: MVVM, Coordinatators and RxSwift
@arthurr_here shares his teams experience of using MVVM, Coordinatators and RxSwift to simplify their app architecture.
uptech.team
Apple ARKit by Example
In this series of articles, @zntfdr provides a gentle introduction to getting started wtih ARKit.
markdaws.net
CoreData: CRUD with Concurrency in Swift
If you’ve looking to brush up on your Core Data concurrency, @MarcoSantaDev has published a nice series of articles that are worth checking out.
marcosantadev.com
Drag and Drop on iOS and Multi-Tasking
@digitalleaves walks through how to get started with the new drag-and-drop APIs in iOS 11.
digitalleaves.com
Tools
Sourcery: Generating Swift Code in iOS
Save time by removing the need to write boilerplate code with this tutorial from @cwagdev looking at Sourcery – the open source Swift code generation
tool by @merowing_.
raywenderlich.com
Libraries
SwiftCheck
SwiftCheck is a useful testing library for automatically generating random input data for testing different aspects of an algorithm or data structure.
github.com
ARKit-CoreLocation
Following on from the link I included in last weeks issue, @AndrewProjDent has kindly released the source for his ARKit / CoreLocation demo.
github.com
Pros and Cons of iOS Machine Learning APIs
When it comes to machine learning on iOS, Core ML is not the only choice. @mhollemans provides a nice summary of the alternatives.
machinethink.net
Videos
13 Ways of Looking at a View Controller
@gregheo searches for a better way of structuring iOS applications by looking at the various ways ViewControllers are used and abused.
realm.io
Finally
Siri vs…
…the Rock. Silly but it made me laugh. Now if only Siri worked as well in reality maybe I’d get more done… ?
youtube.com
Comment
Before we dive in this week, a minor errata from last weeks issue in which I mentioned that Apple’s new Machine Learning Journal didn’t have an associated RSS feed. Turns out that isn’t the case and the feed *is* actually available here. Thanks to Joe Heck for setting me straight!