This example uses standard iOS MVP pattern.
The following image illustrates the bindings:
ViewModel
inputs such as text field changes orUITableView
row selection are defined as swift functions that are called inViewController
ViewModel
outputs are sending data toViewController
using delegation pattern
Clone the repository:
git clone [email protected]:tailec/ios-architecture.git
Navigate to mvp
directory:
cd mvp
No pod install
is required in this example.