Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alekseypleshkov/cleanswift
- Owner: AlekseyPleshkov
- Created: 2020-01-05T07:27:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T18:16:09.000Z (10 days ago)
- Last Synced: 2024-11-04T19:26:22.504Z (10 days ago)
- Topics: clean-architecture, clean-swift, cleanswift, ios, ios-architecture, ios-swift
- Homepage:
- Size: 689 KB
- Stars: 28
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.