CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

KMRouter 0.1.3

KMRouter 0.1.3

Maintained by zhenLove.



KMRouter 0.1.3

  • By
  • zhenlove

KMRouter

CI Status Version License Platform

Example

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

Requirements

Installation

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

pod 'KMRouter'

Author

zhenlove, ******@.com

License

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

Note

  • 1.加载Swift时
@objc(ModuleA)
class ModuleA{

}
  • 2.给Swift对象赋值时,属性前要加@objc
@objc var titleName: String?
  • 3.当需要返回数据时需要遵循
<KMRouterProtocol>
  • 4.当需要持有KMCallBack时

obcj

@implementation KMModuleD
@synthesize callBack;

swift

var callBack: KMCallBack?