9:30am - 12:30pm
1:30pm - 5pm
In this workshop, we’ll look at how to build a functional, testable core and how to use it with different iOS app architectures.
In Swift we emphasize immutability, value types, and the use of generics, higher-order functions, and closures. We may be writing Swift apps, but the frameworks our iOS and Mac apps are built on are still written in Objective-C. Foundation, UIKit, AppKit, and other frameworks are based around reference types and the familiar design patterns we’ve used for years with these frameworks.
Our goal is to explore strategies to successfully blend these two worlds.
We’ll begin the workshop by test-driving an immutable model. We’ll then use this model in a basic table based app. We’ll then experiment with different architectures to emphasize how we can isolate and take advantage of the best of Swift in a robust and flexible iOS app.