Latest 1.0.6
Homepage https://github.com/policp/page-manager
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

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

Basic Examples

use push

///MARK: push   
PageManager.share.push("MainViewController", pushAnimator: .fade) { (target) in
            target.setValue("Joy", forKey: "name")
        }

use pop

///MARK: pop
PageManager.share.pop("pageName", true) { (target) in
            target.setValue(true, forKey: "reloadData")
        }

Warning

When you assign a value to the target view (target), use the setValue:forKey: method, and put the @objc keyword in front of the target parameter.

class MainViewController: UIViewController {

    @objc var name: String?

    override func viewDidLoad() {
        super.viewDidLoad()
        title = name
    }
}

Screenshots

avatar

Installation

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

pod 'page-manager'

Author

policp

My mail box, [email protected]

License

page-manager is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "page-manager",
    "version": "1.0.6",
    "summary": "Push animation effect",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/policp/page-manager",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "policp": "[email protected]"
    },
    "source": {
        "git": "https://github.com/policp/page-manager.git",
        "tag": "1.0.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "page-manager/Classes/**/*.swift"
}

Pin It on Pinterest

Share This