CocoaPods trunk is moving to be read-only. Read more on the blog, there are 11 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Nov 2017 |
| SPMSupports SPM | ✗ |
Maintained by JerryWong.
A solution for iOS modules and components separation. You can route to viewController or perform native block with url.
IntentCtx.default.register(LoginViewController.self, forKey: "login")
IntentCtx.default.register({ (param) in
print(param)
}, forKey: "showAlert")
let router = try? Router.init(key: "login", extra: ["stringValue": "This message came from a router"])
router?.submit()
var router = try? Router.init(key: "login", extra: ["stringValue": "This message came from a router"])
router?.transition = SystemTransition.init(axis: .horizontal, style: .zoom(factor: 0.8))
router?.submit()
var router = try? Router.init(key: "login", extra: ["stringValue": "This message came from a router"])
router?.config = .present([.fakePush, .wrapNC])
router?.transition = SystemTransition.init(axis: .horizontal, style: .zoom(factor: 0.8))
router?.submit()
let router = try? Router.init(urlString: "router://login?stringValue=This message came from a url string")
router?.submit()
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries. You can install it with the following command:
$ gem install cocoapodsTo integrate JWIntent into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
pod 'JWIntent'Then, run the following command:
$ pod install(MIT license)