Skip to content

alobanov/MVVM-Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Swift templates of MVVM+Rx architecture

Setup via xCode Templates

This section about native templates used by xCode

Auto syncing

  1. You need to clean up you Templates folder in xCode location. For this you need open in finder folder below and move all files to trash:
~/Library/Developer/Xcode/Templates/ 
  1. Clone this repo in special place on you disc :)

  2. Next, we create simlink to EACH template, that you needed in templates section:

ln -sfv /Users/IvanTheTerrible/Documents/git-repos/alobanov/vps-template/rx_mvvm_controller/RxViewModel ~/Library/Developer/Xcode/Templates/ 

!ATTENTION! To correct create simlink you MUST use only ABSOLUTE path of git repo! Check in folder for success creation folders

  1. That is all! After this add some helpful bash command in you .bash_profile files
# xCode templates alias xCode_update_templates="cd ~/Documents/git-repos/alobanov/vps-template; git pull" 

Do not forget make source ~/.bash_profile in you terminal for start using update command.

Now you can type in terminal: xCode_update_templates

About

Templates for MVVM architecture for swift (based on RxSwift)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages