Latest 0.5.0
Homepage https://github.com/wachus77/TIUpDownSwipe
License MIT
Platforms ios 11.0
Authors

GitHub license
Swift 4.2

Animation
Animation

Example

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

Requirements

Installation

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

pod 'TIUpDownSwipe'

Basic Usage

import TIUpDownSwipe

DataSource

class ViewController: TIUpDownSwipeViewController, TIUpDownSwipeDataSource {

    override func viewDidLoad() {
        super.viewDidLoad()
        datasource = self
        topControllerColor = UIColor(hexString: "#c01d1d")
        middleControllerColor = UIColor(hexString: "#d35454")
        bottomControllerColor = UIColor(hexString: "#ff6969")
        topText = "first"
        bottomText = "last"
    }

    func upDownSwipeTopViewController(_ upDownSwipeController: TIUpDownSwipeViewController) -> UIViewController {
        return UIViewController()
    }

    func upDownSwipeMiddleViewController(_ upDownSwipeController: TIUpDownSwipeViewController) -> UIViewController {
        return UIViewController()
    }

    func upDownSwipeBottomViewController(_ upDownSwipeController: TIUpDownSwipeViewController) -> UIViewController {
        return UIViewController()
    }
}

Author

Tomasz Iwaszek, [email protected]

License

TIUpDownSwipe is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "TIUpDownSwipe",
    "version": "0.5.0",
    "summary": "Smooth, animated navigation between three controllers on a swipe gesture - up and down",
    "swift_version": "4.2",
    "description": "This is a library thanks to which it is possible to set navigation between three controllers on a swipe gesture - up and down, with the animation of changing the navigation arrow and smooth transition of the background colors of the view controllers.",
    "homepage": "https://github.com/wachus77/TIUpDownSwipe",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Tomasz Iwaszek": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wachus77/TIUpDownSwipe.git",
        "tag": "0.5.0"
    },
    "platforms": {
        "ios": "11.0"
    },
    "source_files": "TIUpDownSwipe/Classes/**/*"
}

Pin It on Pinterest

Share This