A couple of years back I was working on a project structured with the MVVM pattern. We chose to structure our view models "Kickstarter style" with separate protocols for "Inputs" and "Outputs". In
Our applications aggregate more and more private data that belong to users. We should make everything we can to make out users secure and safe. The first step to make the app more
If you use Storyboards or Xibs, there is added benefit when the preview of your custom view is rendered right in Xcode. We can achieve that using @IBDesignable and @IBInspectable. @IBInspectable make property
Sometimes structures or classes we create in code can be easily expressed by built-in Swift types. Consider the following code: struct Person { let name: String } let ana = Person(name: "Ana")I created simple
To finish our conversion from part 1, we will need all changes, available here. Collection viewRight now we are using old-fashioned collection view implementation, using delegate and data source. I'll simplify this code