Examples and templates for iOS architecture Clean Swift
- Router. Example of work with Routers (Old segue version).
- Worker. Example of work with Workers and Routers.
- Unit Tests. Example of write tests for scene.
Template for creating new scene with View (SnapKit), ViewController, Interactor, Presenter, Models, Router, Worker and scene Builder.
Template for creating new scene with Storyboard, ViewController, Interactor, Presenter, Models, Router and Worker.
Template for creating new scene with Xib, ViewController, Interactor, Presenter, Models, Router, Worker and scene Builder.
Template for creating tests files for exists scene.
- Open path
~/Library/Developer/Xcode/Templates/File Templates
. - Copy folders from XCodeTemplates to
File Templates
. - Restart XCode.