iOS下拉刷新:ADChromePullToRefresh
jopen
9年前
ADChromePullToRefresh 提供可自定义下拉刷新的功能。
/* * To initialize ADChromePullToRefresh use this designated initializer * @param view - view to overlay by pull to refresh * @param scrollView - for which scrollView we add pull to refresh * @param scrollViewOriginalOffsetY - initial offset y of the given scrollView * @param delegate - object conformed to ADChromePullToRefreshDelegate protocol */ init(view: UIView, forScrollView scrollView: UIScrollView, scrollViewOriginalOffsetY: CGFloat, delegate: ADChromePullToRefreshDelegate)