Latest 0.0.1
Homepage https://github.com/JazzyComponents/JazzySlideKit
License Apache License, Version 2.0
Platforms ios 10.0
Frameworks UIKit

JazzySlideKit Build Status

Soulfully slidey UINavigationController transitions.

Quickly and easily create onboarding flows with a background image or transparent top and bottom bars based on simple UINavigationController semantics.

Installation

CocoaPods

pod 'JazzySlideKit'

Programmatic Usage

import JazzySlideKit

class CustomNavigationController: JazzySlideNavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()

        //Customize push and pop transition animation timings
        pushTransition.delay = 0.15
        pushTransition.duration = 0.45
        popTransition.springDampingRatio = 0.75
        popTransition.animationOptions = [.curveEaseInOut]
        popTransition.backgroundColor = .clear
        //etc...

        //Add a background image to navigation stack for onboarding experience
        let imageView = UIImageView(image: UIImage(named: "BackgroundImage"))
        imageView.contentMode = .scaleAspectFill
        imageView.clipsToBounds = true
        imageView.frame = view.bounds
        imageView.autoResizingMask = [.flexibleWidth, .flexibleHeight]
        view.insertSubview(imageView, at: 0)
        view.layoutIfNeeded()
        //etc...

        //Make the navigation bar transparent for a cleaner onboarding experience
        navigationBar.backgroundColor = .clear
        navigationBar.shadowImage = UIImage()
        navigationBar.setBackgroundImage(UIImage(), for: .default)  

    }

}

Latest podspec

{
    "name": "JazzySlideKit",
    "version": "0.0.1",
    "summary": "Soulfully slidey UINavigationController transitions",
    "description": "Quickly and easily create onboarding flows with a background image or transparent top and bottom bars based on simple UINavigationController semantics",
    "authors": "Jazzy Components",
    "homepage": "https://github.com/JazzyComponents/JazzySlideKit",
    "license": {
        "type": "Apache License, Version 2.0",
        "file": "LICENSE"
    },
    "source": {
        "git": "https://github.com/JazzyComponents/JazzySlideKit.git",
        "tag": "0.0.1"
    },
    "source_files": "JazzySlideKit/**/*.{h,m,swift}",
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "4.1",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This