Directions Class Reference
Inherits from | NSObject |
---|---|
Declared in | UISwipesView.h |
Overview
The Directions are abstractions of 4 directional swipe operations. They allow the swiping away of the currently viewed card (or View), to the top, bottom, left or right of the screen. The following are the Directions Class' Values: [Directions LEFT] [Directions DOWN] [Directions RIGHT] [Directions UP]
Objective-C Usage Example:
UISwipesView *swipesView = [[UISwipesView alloc] init];
// Or from Storyboard Outlet (self.swipesView)
NSArray * directions = @[[Directions LEFT], [Directions RIGHT]];
// Or from Storyboard Options (Direction left, ...)
[swipesView setAllowedDirections:directions];
– description
Human readable string representing the direction
- (NSString *)description
Declared In
UISwipesView.h