Are design patterns still relevant today, especially for Swift developers? Watch as I refactor an iOS view model to use the Null Object Pattern. https://qualitycoding.org/refactor-nu...
00:00 - Intro
00:34 - Code Review / Alternative Designs
02:43 - Moving the View Model into Its Own File
04:19 - Adding an Explicit Initializer
06:26 - Making a Factory Function
12:23 - Duplicate Types Conforming to a Protocol
20:12 - Removing Unused Code to Simplify Each Type
27:10 - About Design Patterns
#Refactoring in #SwiftLang