-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathRFSegue.h
39 lines (26 loc) · 1.06 KB
/
RFSegue.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*!
RFSegue
Copyright (c) 2012-2014, 2016, 2018 BB9z
https://github.com/RFUI/RFSegue
The MIT License (MIT)
http://www.opensource.org/licenses/mit-license.php
*/
#import <UIKit/UIKit.h>
#import "RFSegueDelegate.h"
/**
RFSegug add missing features for UIStoryboardSegue.
Feature:
- Determines whether the segue with the specified identifier should be triggered on iOS 5.
- Experimental load scene from another storyboards.
You must overrided `RFPerform` to use it.
*/
NS_CLASS_AVAILABLE_IOS(5_0) @interface RFSegue : UIStoryboardSegue
@property (nonatomic, nullable, copy) NSDictionary *userInfo;
/// Should not be overrided, see `RFPerform`
- (void)perform;
/**
Subclasses should always override this method instead of `perform` and use it to perform the animations from the views in sourceViewController to the views in destinationViewController.
You should call `noticeDelegateWillPerform` and `noticeDelegateDidPerformed` manually to notice sourceViewController and destinationViewController about the reciver’s stauts.
*/
- (void)RFPerform;
@end