A weekly video series on Swift programming.
We explore how Swift's generics can be used to create a simple, reusable table view controller. As a welcome side effect, this process helps us keep our view controller code clean.
We discuss the pros and cons of delegates versus callback functions and why delegate protocols are always class only.
We show how you can build a generic, type-safe table view controller that can display different types of items using multiple cell classes.