TKPageControl Class Reference
Inherits from | UIControl |
Declared in | TKPageControl.h TKPageControl.m |
Tasks
Other Methods
Properties
-
numberOfPages
property -
currentPage
property -
pageIndicatorTintColor
property -
currentPageIndicatorTintColor
property -
dotRadius
property -
spaceBetweenDots
property
Properties
currentPage
The current selected page.
@property (nonatomic, assign) NSInteger currentPage
Declared In
TKPageControl.h
currentPageIndicatorTintColor
The color of the current page indicator.
@property (nonatomic, retain) UIColor *currentPageIndicatorTintColor
Declared In
TKPageControl.h
dotRadius
The circle radius of the page indicator.
@property (nonatomic, assign) CGFloat dotRadius
Declared In
TKPageControl.h
numberOfPages
The number of pages in the page control.
@property (nonatomic, assign) NSInteger numberOfPages
Declared In
TKPageControl.h
Instance Methods
setCurrentPage:animated:
This method allows you to set the background color during a certain state.
- (void)setCurrentPage:(NSInteger)currentPage animated:(BOOL)animated
Parameters
- currentPage
The current page to be selected.
- animated
Animate the selection of the current page.
Declared In
TKPageControl.h