CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Jan 2017 |
Maintained by joser.
To run the example project, clone the repo, and run pod install from the Example directory first.
+ (void)load {
[GBModuleMiddleware registerWithModuleName:@"ModuleA"completionHandle:^(GBModuleMiddlewareForwardType type, UIViewController *sourceController, GBModuleBaseStyle *style) {
if (type == GBModuleMiddlewareForwardTypePush) {
GBModuleAViewController *controller = [[GBModuleAViewController alloc] init];
[sourceController.navigationController pushViewController:controller animated:YES];
}
}];
} [GBModuleMiddleware forwareWithModuleName:@"ModuleA" sourceController:self style:nil forwareType:GBModuleMiddlewareForwardTypePush];GBModuleMiddleware is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "GBModuleMiddleware"15038777234, [email protected]
GBModuleMiddleware is available under the MIT license. See the LICENSE file for more info.