TuSDKICPagerViewDataSource Protocol Reference
Conforms to | TuSDKICPagerHolderDelegate |
---|---|
Declared in | TuSDKICPagerView.h |
– numberOfPagesInPagerView:
required method
总页数
- (NSUInteger)numberOfPagesInPagerView:(TuSDKICPagerView *)pagerView
Parameters
pagerView |
横向分页视图 |
---|
Return Value
pagerView 总页数
Declared In
TuSDKICPagerView.h
– pagerView:holder:pageIndex:
required method
设置视图
- (void)pagerView:(TuSDKICPagerView *)pagerView holder:(TuSDKICPagerHolder *)holder pageIndex:(NSUInteger)pageIndex
Parameters
pagerView |
横向分页视图 |
---|---|
holder |
分页占位视图 |
pageIndex |
分页页数 |
Declared In
TuSDKICPagerView.h
– pagerView:didShowPageIndex:
required method
正在显示的页数
- (void)pagerView:(TuSDKICPagerView *)pagerView didShowPageIndex:(NSUInteger)pageIndex
Parameters
pagerView |
横向分页视图 |
---|---|
pageIndex |
分页页数 |
Declared In
TuSDKICPagerView.h
– didScrollEndWithPagerView:
滚动到最后一页
- (void)didScrollEndWithPagerView:(TuSDKICPagerView *)pagerView
Parameters
pagerView |
横向分页视图 |
---|
Declared In
TuSDKICPagerView.h