Skip to content

My interpretation of the VIPER architecture for iOS with a Template

Notifications You must be signed in to change notification settings

rafaellara/VIPERTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

VIPERTemplate

My interpretation of the VIPER architecture for iOS with a Template

This is a template for Xcode. Adding it to the system, when selected, it will generate all the components, given the component name:

  • Wireframe
  • ViewItem
  • ViewProtocol
  • PresenterProtocol
  • Presenter
  • InteractorProtocol
  • Interactor
  • ServiceProtocol
  • Service
  • Entity

How can install the files?

  • Check out this template.
  • Open the templates folder in Finder (/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates/)
  • Create a new folder in it (I've called Patterns, but you can name it as you want. It will serve as the section name).
  • In it, copy the VIPER.xctemplate
  • Now, everytime you create a new file in Xcode, it will offer the option to generate the whole set of the VIPER architecture for you.

About

My interpretation of the VIPER architecture for iOS with a Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published