This post by Matt Gallagher completely blew my mind. 🤯 Rather than restricting the idea of the Model to strictly the persistent data in the app, this post explores what a Model would look like if it contained all mutable state. This new definition allows for some really compelling and fascinating benefits that are impossible using the traditional definition of Model. I highly recommend downloading the sample project for a test-run.
Former Apple software engineer and developer evangelist Dave Delong is taking on the challenge of creating a Swifty date library on top of Foundation. Other third-party date libraries already exist, but the goals (and non-goals) of this project make it look really promising.
Changing root view controllers of a window is easy – animating the transition, not so straightforward. Daniele Margutti presents his approach to this problem using Core Animation,
CATransition, and an extension of
UIWindow. He put the code for his extension on Github and packaged it into a CocoaPod as well!
Mischa Hildebrand with a fascinating look into the behavior of raw values and associated types in Swift Enums. I definitely learned a couple new things about how Enums work under the covers and about how they can be used in practice.