/MLHybrid

For dream, keep dreaming.

Primary LanguageSwiftMIT LicenseMIT

MLHybrid

CI Status Version License Platform

Example

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

Requirements

iOS8+

Installation

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

pod "MLHybrid"

How To Use

You should register MLHybrid in AppDelegate. If you wanna extension hybrid method.You can make a class (e.g. MethodExtension) implement MLHybridMethodProtocol,like this:

MLHybrid.register(sess: "GuU7KeV154f8juslkNWRONyVE3m8Sq9h5nJFpcARiCFIvrMsp6boxDzcYabBwAoM",
                  platform: "i",
                  appName: "medlinker",
                  domain: "medlinker.com",
                  backIndicator: "hybridBack",
                  delegate: MethodExtension())

Author

yang cai, 774164@qq.com

License

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