CleanSwift
CleanSwift copied to clipboard
Examples and templates for iOS architecture Clean Swift
🧬 CleanSwift
Examples and templates for iOS architecture Clean Swift
🗄 Examples
- 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.
📦 Templates
SnapKit Scene Template
Template for creating new scene with View (SnapKit), ViewController, Interactor, Presenter, Models, Router, Worker and scene Builder.
Scene Template
Template for creating new scene with Storyboard, ViewController, Interactor, Presenter, Models, Router and Worker.
Xib Scene Template
Template for creating new scene with Xib, ViewController, Interactor, Presenter, Models, Router, Worker and scene Builder.
Unit Tests Template
Template for creating tests files for exists scene.
Install
- Open path
~/Library/Developer/Xcode/Templates/File Templates
. - Copy folders from XCodeTemplates to
File Templates
. - Restart XCode.