Template for Swift Clean Architecture from uncle Bob lecture.
This Template is derived from the Clean Architecture proposed by Uncle Bob. They share many common concepts such as the components, boundaries, and models.
To install the Clean Swift Xcode templates, run:
make install_templates
To uninstall the Clean Swift Xcode templates, run:
make uninstall_templates
after you install the template by 'makefile' you will find the templates under custome section.
NOTE : you might faced an issue after creating UseCase or Service since the service must implemnts the UseCase Prorotcol. in order to fix the issue create a new file with name "UseCase.swift" for implementation just copy and past the following code below :
internal protocol UseCase {
associatedtype Element
func execute(request : UseCaseRequest) -> Element
}
public protocol UseCaseRequest {
}