Description
https://github.com/casatwy/CTMediator
CTMediator alternatives and similar libraries
Based on the "App Routing" category.
Alternatively, view CTMediator alternatives based on common mentions on social networks and blogs.
-
RxFlow
RxFlow is a navigation framework for iOS applications based on a Reactive Flow Coordinator pattern -
RouteComposer
Protocol oriented, Cocoa UI abstractions based library that helps to handle view controllers composition, navigation and deep linking tasks in the iOS application. Can be used as the universal replacement for the Coordinator pattern. -
ZIKRouter
Interface-oriented router for discovering modules, and injecting dependencies with protocol in Objective-C and Swift. -
Composable Navigator
An open source library for building deep-linkable SwiftUI applications with composition, testing and ergonomics in mind -
LightRoute
LiteRoute is easy transition for your app. Written on Swift 4 -
DZURLRoute
DZURLRoute是支持基于标准URL进行Native页面间跳转的Objective-C实现。方便您架构页面之间高内聚低耦合的开发模式。他的核心思想是把每一个页面当成一个资源,通过标准的URL协议(统一资源定位符)来定位到每一个可触达的页面(资源)。 -
CoreNavigation
📱📲 Navigate between view controllers with ease. 💫 🔜 More stable version (written in Swift 5) coming soon. -
MonarchRouter
Declarative URL- and state-based router written in Swift. -
Weavy
Reactive navigation framework based on a weaving pattern (fits well with RxSwift)
Appwrite - The open-source backend cloud platform
Do you think we are missing an alternative of CTMediator or a related project?
README
CTMediator
objective-c:
pod "CTMediator"
swift:
use_frameworks!
pod "CTMediator"
CTMediator
helps you to divide your project into multi-project, and use Target-Action
pattern to let subprojects to communicate with each other. with no regist process!
you can check demo for more details:
Modulized Main Project with CTMediator
add private repo before you run demos:
pod repo add PrivatePods https://github.com/ModulizationDemo/PrivatePods.git
remember to run pod install
before you run the demo!
Modulized Main Project with CTMediator
跑demo时先添加私有库:
pod repo add PrivatePods https://github.com/ModulizationDemo/PrivatePods.git
然后就可以pod install
了
本工程其实也是个Demo
Category
目录在实际工程中是单独的一个repo,调用者通过依赖category这个repo来完成功能调度。一般来说是每一个业务对应一个category的repo。因此调用者需要调度哪个业务,就依赖哪个业务的category。category这个repo由对应提供服务的业务来维护。
CTMediator
目录在实际工程中也是一个单独的repo,仅用于存放中间件。被每一个业务线各自维护的category repo所依赖。
DemoModule
目录是实际提供服务的业务,这个在实际工程中也是一个单独的repo。这个repo不被任何人所依赖,这个repo通过target-action来提供被调度的功能,然后由category repo通过runtime调度。
CTMediator
helps you to devide your project into multi-project, and use Target-Action
pattern to let subprojects to communicate with each other.
you can check demo for more details: