UIScrollView(ADKInfiniteScrollingView) Category Reference
| Declared in | UIScrollView+ADKInfiniteScrollingView.h UIScrollView+ADKInfiniteScrollingView.m |
|---|
– ADKAddInfiniteScrollingWithHandleView:actionHandler:
Add a infinite scrolling view at scrollview content view end, when infinite scrolling trigger, actionHandler will be triggered
- (void)ADKAddInfiniteScrollingWithHandleView:(UIView<ADKInfiniteScrollingViewProtocol> *)infiniteScrollingHandleView actionHandler:(void ( ^ ) ( void ))actionHandlerParameters
infiniteScrollingHandleView |
A UIView should conform ADKInfiniteScrollingViewProtocol |
|---|---|
actionHandler |
Block will invoke while infinite scrolling triggered |
Declared In
UIScrollView+ADKInfiniteScrollingView.h
– ADKTriggerInfiniteScrollingWithAnimation:
Programmatically trigger infinite scrolling loading, will invoke actionHandler
- (void)ADKTriggerInfiniteScrollingWithAnimation:(BOOL)animatedParameters
animated |
Do scrolling animate or not |
|---|
Declared In
UIScrollView+ADKInfiniteScrollingView.h
– ADKUpdateInfiniteScrollingLayout
Updating ADKInfiniteScrollingContentView’s layout arguments into scrolling calculation system forcely. If you want to change scroll view’s offset after initialization, please use this method to keep update to date.
- (void)ADKUpdateInfiniteScrollingLayoutDeclared In
UIScrollView+ADKInfiniteScrollingView.h
infiniteScrollingContentView
Deal animation and infinite scrolling state. Please reference Class ADKInfiniteScrollingContentView
@property (nonatomic, readonly) ADKInfiniteScrollingContentView *infiniteScrollingContentViewDeclared In
UIScrollView+ADKInfiniteScrollingView.h
showInfiniteScrolling
Enable/disable and make infiniteScrollingContentView visiable/hidden
@property (nonatomic, assign) BOOL showInfiniteScrollingDeclared In
UIScrollView+ADKInfiniteScrollingView.h