Optionals Are Evil..?

When and where should optionals be used? What are the advantages and disadvantages of optionals? Before Swift, iOS developers wrote their apps using Objective-C. In Objective-C, programmers could send messages to nil without the program crashing and in some cases was considered a feature. However, sometimes objects were unexpectedly nil and the program would incorrectly execute. Today, Swift uses optionals to more explicitly handle the case when an object is nil.

Om Podcasten

Inside iOS dev is a weekly show about real world iOS development. Your hosts, Alex Bush and Sandeep Aggarwal, draw from their experiences ranging from 4+ year old legacy codebases, to small startup green field projects, to working on apps at places like Uber, Wayfair, and Upkeep with millions of active users. They discuss everything from implementing specific features, to creating flexible designs, to utilizing refactoring techniques, and more. This is THE show for professional iOS developers.