https://github.com/rfui/rfsegue
Missing features for UIStoryboardSegue
https://github.com/rfui/rfsegue
async interface-builder segue storyboard uistoryboardsegue
Last synced: 3 months ago
JSON representation
Missing features for UIStoryboardSegue
- Host: GitHub
- URL: https://github.com/rfui/rfsegue
- Owner: RFUI
- License: other
- Created: 2012-12-02T08:03:21.000Z (over 12 years ago)
- Default Branch: develop
- Last Pushed: 2020-09-25T09:43:33.000Z (over 4 years ago)
- Last Synced: 2025-03-01T18:03:09.176Z (3 months ago)
- Topics: async, interface-builder, segue, storyboard, uistoryboardsegue
- Language: Objective-C
- Homepage:
- Size: 106 KB
- Stars: 3
- Watchers: 9
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# RFSegue - Missing features for UIStoryboardSegue
[](https://travis-ci.org/RFUI/RFSegue)
[](https://codecov.io/gh/RFUI/RFSegue)
[](https://cocoapods.org/pods/RFSegue)*English* [简体中文 :cn:](Readme~zh-hans.md)
## CocoaPods Install
```ruby
pod 'RFSegue'
```Specify develop branch to install the lastest version:
```ruby
pod 'RFSegue',
:git => 'https://github.com/RFUI/RFSegue.git',
:branch => 'develop',
:subspecs => ['Async', 'Return', 'Present']
```## Version
v3 was designed when iOS 5 just came out. The architecture is outdated and should be deprecated. Checkout v3 branch for legacy usage.
```ruby
pod 'RFSegue', :git => 'https://github.com/RFUI/RFSegue.git', :branch => 'v3'
```## Asynchronous segue
By using RFAsynchronousSegue, you can perform or cancel an seuge asynchronous.
## Return buttons
Using segue we can transit between view controllers conveniently from the outside in. But how to return? Generally we must write some code. We had subclassed `UIButton` and `UIBarButtonItem` to make this as convenient as segue. For an `UIButton`, you just change it’c class, no more operate! You need drag `masterViewController` IBOutlet to current view controller if there are `UIBarButtonItem`. IBAction or addTarget no longer needed.
By implement `RFSegueReturnDelegate` protrol, you could control whether the return should be executed or not.