RFUI / RFSegue

Missing features for UIStoryboardSegue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RFSegue - Missing features for UIStoryboardSegue

Build Status Codecov CocoaPods

English 简体中文 🇨🇳

CocoaPods Install

pod 'RFSegue'

Specify develop branch to install the lastest version:

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.

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.

About

Missing features for UIStoryboardSegue

License:Other


Languages

Language:Objective-C 70.0%Language:Shell 15.4%Language:Ruby 11.0%Language:Swift 3.6%