Ash Furrow: View models don’t have any access to the user interface. You should not even import UIKit in a view model. Typically, a view controller observes the view model somehow to know when there’s new data to display. This can be done through KVO or FRP.[…]My solution was to put the enum in the … Continue reading MVVM in Swift
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed