Humble Object Pattern in Swift

Alexei Kuznetsov (comments): The outside world can just tell [the view controller] to show some data and doesn’t have to know about the UIKit-specific details of presenting it. All labels, text fields, and image views are encapsulated inside a view controller, and only strings and images are exposed. What’s left in the view controller is … Continue reading Humble Object Pattern in Swift