RNSwipeViewController Class Reference
Inherits from | UIViewController |
Conforms to | UIGestureRecognizerDelegate |
Declared in | RNSwipeViewController.h |
Tasks
Methods
-
– showLeft
Show the left view controller
-
– showLeftWithDuration:
Show the left view controller with a user-defined duration.
-
– showRight
Show the right view controller
-
– showRightWithDuration:
Show the right view controller with a user-defined duration.
-
– showBottom
Show the bottom view controller
-
– showBottomWithDuration:
Show the bottom view controller with a user-defined duration.
-
– resetView
Hide all view controllers and show the center controller.
Controllers
-
centerViewController
The center view controller that is always displayed;
property -
leftViewController
The left view controller that can be displayed with a right-swipe.
property -
bottomViewController
The bottom view controller that can be displayed with an up-swipe.
property -
rightViewController
The right view controller that can be displayed with a left-swipe.
property
Controller Properties
-
leftVisibleWidth
The width in points of the left controller.
property -
rightVisibleWidth
The width in points of the left controller.
property -
bottomVisibleHeight
The width in points of the left controller.
property
Controller Status
-
isToggled
Utility method useable with KVO.
property -
visibleState
The state of the overall control.
property -
visibleController
Returns the currently visible controller.
property
Controller Utilities
-
canShowLeft
Enable/disable the left view controller.
property -
canShowRight
Enable/disable the right view controller.
property -
canShowBottom
Enable/disable the bottom view controller.
property -
canTapOut
Enable/disable the bottom view controller.
property
Controller Delegates
-
swipeDelegate
Optional 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 *bottomViewController
See Also
Declared In
RNSwipeViewController.h
bottomVisibleHeight
The width in points of the left controller.
@property (assign, nonatomic) CGFloat bottomVisibleHeight
See Also
Declared In
RNSwipeViewController.h
canShowBottom
Enable/disable the bottom view controller.
@property (assign, nonatomic) BOOL canShowBottom
Declared In
RNSwipeViewController.h
canShowLeft
Enable/disable the left view controller.
@property (assign, nonatomic) BOOL canShowLeft
Declared In
RNSwipeViewController.h
canShowRight
Enable/disable the right view controller.
@property (assign, nonatomic) BOOL canShowRight
Declared In
RNSwipeViewController.h
canTapOut
Enable/disable the bottom view controller.
@property (assign, nonatomic) BOOL canTapOut
Declared In
RNSwipeViewController.h
centerViewController
The center view controller that is always displayed;
@property (strong, nonatomic) UIViewController *centerViewController
See Also
Declared In
RNSwipeViewController.h
isToggled
Utility method useable with KVO.
@property (assign, nonatomic, readonly) BOOL isToggled
Declared In
RNSwipeViewController.h
leftViewController
The left view controller that can be displayed with a right-swipe.
@property (strong, nonatomic) UIViewController *leftViewController
See Also
Declared In
RNSwipeViewController.h
leftVisibleWidth
The width in points of the left controller.
@property (assign, nonatomic) CGFloat leftVisibleWidth
See Also
Declared In
RNSwipeViewController.h
rightViewController
The right view controller that can be displayed with a left-swipe.
@property (strong, nonatomic) UIViewController *rightViewController
See Also
Declared In
RNSwipeViewController.h
rightVisibleWidth
The width in points of the left controller.
@property (assign, nonatomic) CGFloat rightVisibleWidth
See Also
Declared In
RNSwipeViewController.h
swipeDelegate
Optional delegate to receive messages that a view controller is being displayed.
@property (weak) NSObject<RNSwipeViewControllerDelegate> *swipeDelegate
See Also
Declared In
RNSwipeViewController.h
visibleController
Returns the currently visible controller.
@property (readonly, nonatomic) UIViewController *visibleController
Declared In
RNSwipeViewController.h
Instance Methods
resetView
Hide all view controllers and show the center controller.
- (void)resetView
See Also
Declared In
RNSwipeViewController.h
showBottom
Show the bottom view controller
- (void)showBottom
See Also
Declared In
RNSwipeViewController.h
showBottomWithDuration:
Show the bottom view controller with a user-defined duration.
- (void)showBottomWithDuration:(NSTimeInterval)duration
Parameters
- duration
The duration of the animation.
See Also
Declared In
RNSwipeViewController.h
showLeft
Show the left view controller
- (void)showLeft
See Also
Declared In
RNSwipeViewController.h
showLeftWithDuration:
Show the left view controller with a user-defined duration.
- (void)showLeftWithDuration:(NSTimeInterval)duration
Parameters
- duration
The duration of the animation.
See Also
Declared In
RNSwipeViewController.h
showRight
Show the right view controller
- (void)showRight
See Also
Declared In
RNSwipeViewController.h