KVCarouselGestureRecognizer Class Reference
| Inherits from | UIPanGestureRecognizer |
| Declared in | KVCarouselGestureRecognizer.h KVCarouselGestureRecognizer.m |
Overview
This gesture recognizer lets you add interactive carousel-like behavior to any view. The gesture recognizer delegate is extended with the methods from the KVCarouselGestureRecognizerDelegate protocol.
Tasks
Carousel delegate
-
delegateDelegate.
property
Configuring carousel behavior
-
allowedDirectionsBitmask of allowed directions of swiping in carousel. Defaults to
propertyKVCarouselDirectionHorizontal. -
bouncesToggles bouncing at the edges. Defaults to
propertyYES. -
gapSizeSets the size of the gap between views. Defaults to
propertyCGSizeZero.
Properties
allowedDirections
Bitmask of allowed directions of swiping in carousel. Defaults to KVCarouselDirectionHorizontal.
@property (nonatomic, assign) KVCarouselDirection allowedDirectionsDiscussion
Bitmask of allowed directions of swiping in carousel. Defaults to KVCarouselDirectionHorizontal.
Declared In
KVCarouselGestureRecognizer.hbounces
Toggles bouncing at the edges. Defaults to YES.
@property (nonatomic, assign) BOOL bouncesDiscussion
Toggles bouncing at the edges. Defaults to YES.
Declared In
KVCarouselGestureRecognizer.h