This week I've been thinking about View Controllers. Yes, View Controllers! While I haven't found many issues with them in Objective-C, I feel like I'm fighting them constantly in Swift, especially when it comes to working with dependency injection (having to use var vs let) and optionals (having to use explicitly unwrapped optionals for mandatory variables).
I'm not sure @chriseidhof's Functional View Controller is the right answer for us in the masses, but I would love to see a more functional re-write of UIViewController in the future which makes it easier to inject variables via a convenience initializer.
But to leave you on a happier note, the exciting news from this week is that there are almost 1000 Swift Pods on CocoaPods ! 🎉🍦🎈
Swift Around the Web
RazzleDazzle - A simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros.
LiterateSwiftGUI - LiterateSwift is a (GUI) tool to edit your literate swift files.
JazzHands - A simple keyframe-based animation framework for UIKit. Perfect for scrolling app intros.
ParksAndRecreation - Various Swift playgrounds, for fun and for profit.