Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alekseypleshkov/cleanswift

Examples and templates for iOS architecture Clean Swift
https://github.com/alekseypleshkov/cleanswift

clean-architecture clean-swift cleanswift ios ios-architecture ios-swift

Last synced: 7 days ago
JSON representation

Examples and templates for iOS architecture Clean Swift

Awesome Lists containing this project

README

        

# 🧬 CleanSwift

Examples and templates for iOS architecture Clean Swift

![Clean Swift Scheme](https://github.com/AlekseyPleshkov/CleanSwift/blob/master/Resources/cleanswift.jpg?raw=true)

# 🗄 Examples

* [Router](https://github.com/AlekseyPleshkov/CleanSwift/tree/master/Examples/CleanSwiftRouter). Example of work with Routers (Old segue version).
* [Worker](https://github.com/AlekseyPleshkov/CleanSwift/tree/master/Examples/CleanSwiftWorker). Example of work with Workers and Routers.
* [Unit Tests](https://github.com/AlekseyPleshkov/CleanSwift/tree/master/Examples/CleanSwiftTests). Example of write tests for scene.

# 📦 Templates

##### [SnapKit Scene Template](https://github.com/AlekseyPleshkov/CleanSwift/tree/master/XCodeTemplates/Clean%20Swift%20Scene%20SnapKit.xctemplate)
Template for creating new scene with View (SnapKit), ViewController, Interactor, Presenter, Models, Router, Worker and scene Builder.

##### [Scene Template](https://github.com/AlekseyPleshkov/CleanSwift/tree/master/XCodeTemplates/Clean%20Swift%20Scene.xctemplate)
Template for creating new scene with Storyboard, ViewController, Interactor, Presenter, Models, Router and Worker.

##### [Xib Scene Template](https://github.com/AlekseyPleshkov/CleanSwift/tree/master/XCodeTemplates/Clean%20Swift%20Scene%20Xib.xctemplate)
Template for creating new scene with Xib, ViewController, Interactor, Presenter, Models, Router, Worker and scene Builder.

##### [Unit Tests Template](https://github.com/AlekseyPleshkov/CleanSwift/tree/master/XCodeTemplates/Clean%20Swift%20Tests.xctemplate)
Template for creating tests files for exists scene.

#### Install

1) Open path `~/Library/Developer/Xcode/Templates/File Templates`.
2) Copy folders from [XCodeTemplates](https://github.com/AlekseyPleshkov/CleanSwift/tree/master/XCodeTemplates) to `File Templates`.
3) Restart XCode.