-
Notifications
You must be signed in to change notification settings - Fork 11
Building basic VIPER App
Mohamad Kaakati edited this page Aug 9, 2018
·
1 revision
After Installing the Generator we will create a new folder in the project for our "Modules". Inside the "Modules" folder we will create another folder named "Articles". Then we will create a new module using the Generator, and will name it "Articles".
[*] Selecting Generic Functions with Fullname
We'll have the the files Generated as following:
File Name | Acts As | Description |
---|---|---|
ArticlesViewUI.swift |
UIView | This is where your design layout should be. |
ArticlesContract.swift |
Contract | This is where all your VIPER protocols should be implemented. |
ArticlesView.swift |
View | If you use Storyboard, Link this to it and ignore UI file. |
ArticlesInteractor.swift |
Interactor | This is what will communicate with the Data Layer and Entity. |
ArticlesPresenter.swift |
Presenter | This is what will communicate with the View and the Interactor. |
ArticlesEntity.swift |
Entity | This is the Entity, It's should be a String respresntation of your Model. |
ArticlesRouter.swift |
Router | This is where your routes to another views should be. |
To be continued...