Explore the intricacies of generic Swift programming in this 58-minute conference talk by Rob Napier at Philly ETE 2019. Delve into common pitfalls and misconceptions surrounding protocol-oriented programming, associated types, type-erasers, and more. Learn effective strategies for working with Swift's type system, avoiding compiler fights, and choosing the right tools for various programming challenges. Gain insights on creating reusable view controllers, flexible networking, data-driven UI, and effective unit testing. Suitable for developers familiar with Swift syntax for generics, protocols, extensions, enums, and first-class functions, this talk also introduces more advanced topics like protocols with associated types and enums with associated data. Discover how to write elegant, efficient Swift code that leverages the language's strengths without unnecessary complexity.
Overview
Syllabus
Introduction
Generics
Mocking
Transport existential
Generalized existential
Type eraser
Concrete requests
equatable
protocol vs interface
future of Swift
Taught by
ChariotSolutions