Skip to content

VIPER-Architecture for iOS project with simple demo example.

License

Notifications You must be signed in to change notification settings

mehulparmar4ever/DemoViper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DemoViper

VIPER-Architecture for iOS project with simple demo example.

What is VIPER architecture? VIPER is a backronym for View, Interactor, Presenter, Entity, and Router. This architecture is based on Single Responsibility Principle which leads to a clean architecture. View: The responsibility of the view is to send the user actions to the presenter and shows whatever the presenter tells it. Interactor: This is the backbone of an application as it contains the business logic. Presenter: Its responsibility is to get the data from the interactor on user actions and after getting data from the interactor, it sends it to the view to show it. It also asks the router/wireframe for navigation. Entity: It contains basic model objects used by the Interactor. Router: It has all navigation logic for describing which screens are to be shown when. It is normally written as a wireframe.

I have developed two different demo using viper architecture for learning purpose.

About

VIPER-Architecture for iOS project with simple demo example.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published