Structure my swift code using Uncle Bob Clean Architecture in different layers like
Domain | Data | Presentation
Domain should be pure Swift
and independent
Data implement Domain
Presentation has access to both Domain and Data
Should I create seperate target – Framework to implement Separation of Concern
Or is there any way to restrict layer like Domain to Access Data and Presentation Logic
One more thing , I want domain to be pure swift not IOS specific.
Like In Android
We create separate module for domain
, data
and Presentation
.
See