Latest 1.0.0
Homepage https://github.com/yaoqi-github/RouteComponentFactory
License MIT
Platforms ios 8.0
Authors

swift版本界面跳转路由管理器

Requirements

  • iOS 8.0+ | macOS 10.10+
  • Xcode 8

Integration

CocoaPods (iOS 8+, OS X 10.9+)

You can use CocoaPods to install RouteComponentFactoryby adding it to your Podfile:

pod 'RouteComponentFactory'

Usage

Initialization

手动集成

将RouteComponentFactory包拖入项目中,即能使用

cocoapods集成

import RouteComponentFactory

首先需要在AppDelegate的didFinishLaunchingWithOptions中注册

WDRouteComponentFactory.regesiterPlist(plistname: "componentreg.plist")

跳转界面

WDRouteComponentFactory.loadpage(currentvc: self, pageName: "native://thrid", params: ["name": "yaoqi"], jumpstyle: .push(false))

回调数据

WDRouteComponentFactory.callBack(currentVC: self, toPageName: "native://first", callBackParams: ["callback": "收到回到数据"])

Latest podspec

{
    "name": "RouteComponentFactory",
    "version": "1.0.0",
    "summary": "By far the most fantastic view I have seen in my entire life. No joke.",
    "description": "This fantastic view changes its color gradually makes your app look fantastic!",
    "homepage": "https://github.com/yaoqi-github/RouteComponentFactory",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "yaoqi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yaoqi-github/RouteComponentFactory.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "RouteComponentFactory/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This