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: about 2 months ago
JSON representation

Examples and templates for iOS architecture Clean Swift

Awesome Lists containing this project

README

        

# 🧬 CleanSwift

Examples and templates for Clean Swift iOS architecture

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

# 📦 Templates

##### [Scene Template](https://github.com/AlekseyPleshkov/CleanSwift/tree/master/XCodeTemplates/Clean%20Swift%20Scene.xctemplate)
Template to create new scene with SwiftUI or UIKit (creates view, interactor, presenter and builder)

#### 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.

# 🗄 Examples (Legacy)

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