Started off boring then BAM! SwiftUI is announced in the final minutes. Tim Cook is off key, sounds more like a product launch than a developer conference. Where's Phil?
The first two sections are interesting, the third not so much. Lots of fun new stuff.
Really interesting. It highlights the foresite and skill Apple has driven their course towards it's latest technologies. So many of the new API play an intregal part of SwiftUI. Covers: @propertywrapper, default values for init(), new keyword some
, and how the editor allows DSLs (Domain Specific Languages).
Introducing SwiftUI: Building Your First App
Wow, we're watching our future. Facinating. Bummed it only available for iOS 13 and beyond. View composition is explored.
Another interesting session discussing data binding and a single source of truth for models. Includes discussion on new table and collection view data API and how they use a diff of model and the current state to brodcast data changes.
Works on Avocado Toast app to demonstrate Views. Key take away SwiftUI is designed to use small views with composition. Views are structs that conform to the View protocol. Lots of repeated info from previous sessions. Another SwiftUI doctrine is “learn once, use anywhere”.
Adopting Swift Packages in Xcode
Xcode 11 adds a File->Swift Package Manager menu that allows you to add package dependencies. This session discusses managing packages in your Xcode projects. Super useful, even for your own internal packages but the talk is a little dull.