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 ))actionHandler

Parameters

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)animated

Parameters

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)ADKUpdateInfiniteScrollingLayout

Declared In

UIScrollView+ADKInfiniteScrollingView.h

  infiniteScrollingContentView

Deal animation and infinite scrolling state. Please reference Class ADKInfiniteScrollingContentView

@property (nonatomic, readonly) ADKInfiniteScrollingContentView *infiniteScrollingContentView

Declared In

UIScrollView+ADKInfiniteScrollingView.h

  showInfiniteScrolling

Enable/disable and make infiniteScrollingContentView visiable/hidden

@property (nonatomic, assign) BOOL showInfiniteScrolling

Declared In

UIScrollView+ADKInfiniteScrollingView.h