TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jan 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Bruno da Luz.
Using Transaction, you will handle the flow between your segues much easier.
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 |
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, with: segue, options: .transitionFlipFromRight)
} else if segue.identifier == Segue.Second.rawValue {
animation.startOn(current: self, with: segue, options: .transitionFlipFromLeft)
}
}
Please, don’t hesitate to file an issue if you have questions.
Bruno da Luz. GitHub
This project is distributed under the MIT License