Latest 2.0.0
Homepage https://github.com/HQMoble/GBModuleMiddleware
License MIT
Platforms ios 8.0
Dependencies YYModel
Authors

CI Status
Version
License
Platform

Version

On January 17, 2017

An updated version 2.0.0

  1. Not compatible with the previous version of code
  2. Delete the configuration object
  3. The new dictionary passed

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

How To Use

1. Register in ModuleA Controller

+ (void)load {
    [GBModuleMiddleware registerModuleWithClass:[GBModuleAStyle class] completionHandle:^UIViewController *(GBModuleBaseStyle *style) {
        GBModuleAViewController *controller = [[GBModuleAViewController alloc] initWithNibName:nil bundle:nil];
        return controller;
    }];
}

2. From ModuleB Push ModuleA

[GBModuleMiddleware forwareModuleWithClassName:@"GBModuleAStyle" moduleParments:nil completionHandle:^(UIViewController *controller) {
    [self.navigationController pushViewController:controller animated:YES];
}];

Requirements

Installation

GBModuleMiddleware is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "GBModuleMiddleware"

Author

15038777234, [email protected]

License

GBModuleMiddleware is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "GBModuleMiddleware",
    "version": "2.0.0",
    "summary": "GBu6a21u5757u5316u4e2du95f4u4ef6",
    "homepage": "https://github.com/HQMoble/GBModuleMiddleware",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "15038777234": "[email protected]"
    },
    "source": {
        "git": "https://github.com/HQMoble/GBModuleMiddleware.git",
        "tag": "2.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "GBModuleMiddleware/Classes/**/*",
    "dependencies": {
        "YYModel": [
            "~> 1.0.4"
        ]
    }
}

Pin It on Pinterest

Share This