Latest 1.0.3
Homepage https://github.com/brunodlz/Transaction
License MIT
Platforms ios 9.0, requires ARC
Authors

Using Transaction, you will handle the flow between your segues much easier.

CocoaPods

Add the following to your Podfile:

pod 'Transaction'

You will also need to make sure you’re opting into using frameworks:

use_frameworks!

Then run pod install

Swift Version

Use the table below to determine which versions of Transaction are compatible with your project.

Swift version Transaction version
Swift 3 v1.0.1 or later
Swift 2.2 / Swift 2.3 v1.0.0

Usage

import Transaction
override func viewDidLoad() {
        super.viewDidLoad()

        performSegue(withIdentifier: Segue.First.rawValue, sender: nil)
    }
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        if segue.identifier == Segue.First.rawValue {
            animation.startOn(current: self, destination: segue.destination, animation: .transitionFlipFromRight)
        } else if segue.identifier == Segue.Second.rawValue {
            animation.startOn(current: self, destination: segue.destination, animation: .transitionFlipFromLeft)
        }
    }

Demo

  • [x] Storyboard
  • [ ] ViewCode

Support

Please, don’t hesitate to file an
issue
if you have questions.

Author

Bruno da Luz. :octocat: GitHub :bird: Twitter

License

This project is distributed under the MIT License

Latest podspec

{
    "name": "Transaction",
    "version": "1.0.3",
    "summary": "Framework to transaction between segue",
    "homepage": "https://github.com/brunodlz/Transaction",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Bruno da Luz": "[email protected]"
    },
    "social_media_url": "http://twitter.com/brunodlz",
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/brunodlz/Transaction.git",
        "tag": "1.0.3"
    },
    "source_files": [
        "Transaction",
        "Transaction/**/*.{h,swift}"
    ],
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This