RNSwipeViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | UIGestureRecognizerDelegate |
| Declared in | RNSwipeViewController.h |
Tasks
Methods
-
– showLeftShow the left view controller
-
– showLeftWithDuration:Show the left view controller with a user-defined duration.
-
– showRightShow the right view controller
-
– showRightWithDuration:Show the right view controller with a user-defined duration.
-
– showBottomShow the bottom view controller
-
– showBottomWithDuration:Show the bottom view controller with a user-defined duration.
-
– resetViewHide all view controllers and show the center controller.
Controllers
-
centerViewControllerThe center view controller that is always displayed;
property -
leftViewControllerThe left view controller that can be displayed with a right-swipe.
property -
bottomViewControllerThe bottom view controller that can be displayed with an up-swipe.
property -
rightViewControllerThe right view controller that can be displayed with a left-swipe.
property
Controller Properties
-
leftVisibleWidthThe width in points of the left controller.
property -
rightVisibleWidthThe width in points of the left controller.
property -
bottomVisibleHeightThe width in points of the left controller.
property
Controller Status
-
isToggledUtility method useable with KVO.
property -
visibleStateThe state of the overall control.
property -
visibleControllerReturns the currently visible controller.
property
Controller Utilities
-
canShowLeftEnable/disable the left view controller.
property -
canShowRightEnable/disable the right view controller.
property -
canShowBottomEnable/disable the bottom view controller.
property -
canTapOutEnable/disable the bottom view controller.
property
Controller Delegates
-
swipeDelegateOptional delegate to receive messages that a view controller is being displayed.
property
Properties
bottomViewController
The bottom view controller that can be displayed with an up-swipe.
@property (strong, nonatomic) UIViewController *bottomViewControllerSee Also
Declared In
RNSwipeViewController.hbottomVisibleHeight
The width in points of the left controller.
@property (assign, nonatomic) CGFloat bottomVisibleHeightSee Also
Declared In
RNSwipeViewController.hcanShowBottom
Enable/disable the bottom view controller.
@property (assign, nonatomic) BOOL canShowBottomDeclared In
RNSwipeViewController.hcanShowLeft
Enable/disable the left view controller.
@property (assign, nonatomic) BOOL canShowLeftDeclared In
RNSwipeViewController.hcanShowRight
Enable/disable the right view controller.
@property (assign, nonatomic) BOOL canShowRightDeclared In
RNSwipeViewController.hcanTapOut
Enable/disable the bottom view controller.
@property (assign, nonatomic) BOOL canTapOutDeclared In
RNSwipeViewController.hcenterViewController
The center view controller that is always displayed;
@property (strong, nonatomic) UIViewController *centerViewControllerSee Also
Declared In
RNSwipeViewController.hisToggled
Utility method useable with KVO.
@property (assign, nonatomic, readonly) BOOL isToggledDeclared In
RNSwipeViewController.hleftViewController
The left view controller that can be displayed with a right-swipe.
@property (strong, nonatomic) UIViewController *leftViewControllerSee Also
Declared In
RNSwipeViewController.hleftVisibleWidth
The width in points of the left controller.
@property (assign, nonatomic) CGFloat leftVisibleWidthSee Also
Declared In
RNSwipeViewController.hrightViewController
The right view controller that can be displayed with a left-swipe.
@property (strong, nonatomic) UIViewController *rightViewControllerSee Also
Declared In
RNSwipeViewController.hrightVisibleWidth
The width in points of the left controller.
@property (assign, nonatomic) CGFloat rightVisibleWidthSee Also
Declared In
RNSwipeViewController.hswipeDelegate
Optional delegate to receive messages that a view controller is being displayed.
@property (weak) NSObject<RNSwipeViewControllerDelegate> *swipeDelegateSee Also
Declared In
RNSwipeViewController.hvisibleController
Returns the currently visible controller.
@property (readonly, nonatomic) UIViewController *visibleControllerDeclared In
RNSwipeViewController.hInstance Methods
resetView
Hide all view controllers and show the center controller.
- (void)resetViewSee Also
Declared In
RNSwipeViewController.hshowBottom
Show the bottom view controller
- (void)showBottomSee Also
Declared In
RNSwipeViewController.hshowBottomWithDuration:
Show the bottom view controller with a user-defined duration.
- (void)showBottomWithDuration:(NSTimeInterval)durationParameters
- duration
The duration of the animation.
See Also
Declared In
RNSwipeViewController.hshowLeft
Show the left view controller
- (void)showLeftSee Also
Declared In
RNSwipeViewController.hshowLeftWithDuration:
Show the left view controller with a user-defined duration.
- (void)showLeftWithDuration:(NSTimeInterval)durationParameters
- duration
The duration of the animation.
See Also
Declared In
RNSwipeViewController.hshowRight
Show the right view controller
- (void)showRightSee Also
Declared In
RNSwipeViewController.h