TKPageControl Class Reference
| Inherits from | UIControl |
| Declared in | TKPageControl.h TKPageControl.m |
Tasks
Other Methods
Properties
-
numberOfPagesproperty -
currentPageproperty -
pageIndicatorTintColorproperty -
currentPageIndicatorTintColorproperty -
dotRadiusproperty -
spaceBetweenDotsproperty
Properties
currentPage
The current selected page.
@property (nonatomic, assign) NSInteger currentPageDeclared In
TKPageControl.hcurrentPageIndicatorTintColor
The color of the current page indicator.
@property (nonatomic, retain) UIColor *currentPageIndicatorTintColorDeclared In
TKPageControl.hdotRadius
The circle radius of the page indicator.
@property (nonatomic, assign) CGFloat dotRadiusDeclared In
TKPageControl.hnumberOfPages
The number of pages in the page control.
@property (nonatomic, assign) NSInteger numberOfPagesDeclared In
TKPageControl.hInstance Methods
setCurrentPage:animated:
This method allows you to set the background color during a certain state.
- (void)setCurrentPage:(NSInteger)currentPage animated:(BOOL)animatedParameters
- currentPage
The current page to be selected.
- animated
Animate the selection of the current page.
Declared In
TKPageControl.h