Our own impletation VIP in SwiftUI
- Module has model with state, called Your_Module_nameViewModel.swift
- View and Presenter has reference to this ViewModule. Every change in ViewModule call refresh View that has this ViewModel.
- For navigation you can use "Router" property in Your_Module_nameView.swift
You need some BaseClasses
- DIResolver
class DIResolver {
init() { }
}
Then just use this :)
Don't use update(model..) func for update your UI! Use viewModule only!