Latest 0.0.2
Homepage https://github.com/pozi119/Valine
License GPL 2.0
Platforms ios 8.0, requires ARC
Authors

viewController push/pop/present/dismiss manager. VOVCManager swift version.

License Apache 
CocoaPods 
CocoaPods 
Support 

开发目标

  1. 管理各种页面跳转
  2. 使用URLScheme访问App的各个页面
  3. 管理页面跳转动画

目前进度

  1. 可满足基本使用.支持push,pop,present,dismiss

安装

  • cocoapods导入:
    
    platform :ios, '8.0'
    use_frameworks!

pod ‘Valine’

* 手动导入:
  下载本项目,编译出Valine.framework,添加进项目中, 或者将Valine.xcodeproj拖入你的项目的workspace中并编译通过

## 使用
* 在需要的地方加入
```swift
import Valine
  • 在 func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool 中访问 Valine.Manager.sharedManager一次(目前没仅为测试版本,可以通过设置debugLevel达到目的)

        Valine.Manager.sharedManager.debugLevel = 1;
  • 页面跳转,如果有目的页面
        let hopIn = Hop(aController: "ViewController", aStoryboard: "Main", parameters: ["viewColor":UIColor.redColor()])
        Valine.pageHop(.Push, hop: hopIn)
  • 页面跳转,如果没有目的页面
        let hopOut = Hop()
        Valine.pageHop(.Pop, hop: hopOut)

欢迎大家多提issue

Latest podspec

{
    "name": "Valine",
    "version": "0.0.2",
    "summary": "IViewController push/pop/present/dismiss manager.",
    "homepage": "https://github.com/pozi119/Valine",
    "license": "GPL 2.0",
    "authors": {
        "pozi119": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/pozi119/Valine.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "Valine",
        "Valine/*.swift"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This