文件名称:RouterService::syringe:用于Swift的类型安全的NavigationDependency注入框架
文件大小:38KB
文件格式:ZIP
更新时间:2024-06-04 05:13:25
swift ios modular xcode navigation
路由器服务 struct SwiftRocksFeature : Feature { @Dependency var client: HTTPClientProtocol @Dependency var persistence: PersistenceProtocol @Dependency var routerService: RouterServiceProtocol func build ( fromRoute route : Route ? ) -> UIViewController { return SwiftRocksViewController ( client : client, persistence : persistence, routerServ
【文件预览】:
RouterService-master
----RouterService.podspec(692B)
----ExampleProject()
--------project.yml(3KB)
--------FeatureTwoInterface()
--------HTTPClientInterface()
--------FeatureFlag()
--------RouterServiceExampleApp.xcworkspace()
--------Resources()
--------Package.swift(741B)
--------FeatureFlagInterface()
--------RouterServiceExampleApp()
--------Package.resolved(3KB)
--------FeatureOne()
--------HTTPClient()
--------FeatureTwo()
----.github()
--------workflows()
----LICENSE(1KB)
----Sources()
--------RouterServiceInterface()
--------RouterService()
----Package.swift(754B)
----.ruby-version(6B)
----.gitignore(632B)
----Makefile(439B)
----Tests()
--------RouterServiceTests()
----README.md(13KB)
----RouterServiceInterface.podspec(674B)