The Domain
is basically what is the App about and what it can do (Entities, UseCase etc.) It does not depend on UIKit or any persistence framework, and it doesn't have implementations apart from entities
Domain contains Protocols of eatch platform so there is no dependency between the platforms and they can work with eachother through the protocols.
The Platform
is a concrete implementation of the Domain
in a specific platform like iOS. It does hide all implementation details.
Application
is responsible for delivering information to the user and handling user input. It can be implemented with any delivery pattern e.g (in Playor is MVVMC). This is the place for UIView
s and UIViewController
s. As you will see from the app, ViewControllers
are completely independent of the Platform
. The only responsibility of a view controller is to "bind" the UI to the Domain to make things happen.
After clone the project you can change the project name. See here
These are the next steps I will add on this project:
- Add NetworkPlatform.
- Add CoreDataPlatform.
- Complete SSTools.
- Create Data Layer for Interactor Implementations.
- Create a Tutorial on how VIPER Works and how to Implement it in a real-life project.
This is an open source project, so feel free to contribute.
- Open an issue.
This idea came because whenever I had to create a new project, It took me a long time to put the initiating things together. Hope you guys enjoy it, Thank you ❤️.