Elaborating on his recent article 'How I Handle Optionals In Swift', Joseph will offer well contested advice on the best ways to use Optionals in Swift. Covering five additional techniques that reduce the need to use 'if let', he'll help you avoid the infamous Swift "Pyramid of Doom".
"I take an extreme line on optionals and do not make use of implicitly unwrapped optionals and very rarely uses force unwrapping. The talk will cover a range of approaches to optionals and where appropriate their disadvantages. I will also briefly cover a custom operator that I use to get the best of both worlds."
Additional topics include:
- When 'if let' should be used
- The disadvantage of not using '!'
- The custom '!!' Asserting Nil-Coalescing Operator
YOU MAY ALSO LIKE:
- Tensorflow & Firebase Hacknight (in London on 3rd September 2018)
- Fast Track to iOS Architecture (in London on 29th - 31st October 2018)
- Daniel Steinberg's - Swift iOS Bootcamp (in London on 12th - 14th December 2018)
- iOSCon 2019 - The conference for iOS and Swift Developers (in London on 21st - 22nd March 2019)
Beyond 'if let'
Joseph studied Computer Science at Cambridge University and since then worked at the BBC and Sony for about five years each before starting his own company Human Friendly Ltd. about 3 years ago and starting iOS development (and some Ruby and Rails too). He is currently looking for new exciting opportunities and available for employment, contracting or coaching in iOS (Objective-C or Swift). He has been playing with Swift and writing about it since it was announced.