Open bigearsenal opened 1 year ago
We might need Common/Services as well. I don't see where common services are kept. Or is it part of "Injection"? In general, I agree
We might need Common/Services as well. I don't see where common services are kept. Or is it part of "Injection"? In general, I agree
Oh. I see. I have a mistake. Services & Extensions should not be nested in Models.
@lisemyon Fixed it
Problems
Solutions
File Types
section.Folder Structure
section and put the file in its place.File Types
mvvm-c
Model
(internal),View
,ViewModel
,Coordinator
,Service
(internal),Extension
(internal).global-model
Model
s that are used in many places in the application.global-service
global-extension
SwiftUI
,UIKit
,CoreAnimation
, .etc...)swiftui
uikit
UIPresentationController
,UIViewController
,UIView
, extensions...app-delegate
AppDelegate
+ its related (AppDelegateService
s, ...)injection
Resolver
(AppDelegate+Injection.swift
).resource
common
Folder Structure
Rules
<typename>
folder.model
was internal, now it is used somewhere else, need to mark it asglobal-model
.service
was internal, now it is used somewhere else, need to mark it asglobal-service
.