The simplest way to add paginate function to your collection view.
All you have to do is just set your collection view class in the storyboard to RRPagingCollectionView
, and implement the RRPagingCollectionViewDelegate#paginate
pod ‘RxCocoa’
pod ‘RxSwift’
pod ‘RxGesture’
pod ‘Kingfisher’
RRPagingCollectionView.swift
, RRPagingCollectionViewDelegate.swift
& RRLoadingFooter.swift
with necessary files in your project.First set your collection view class in the storyboard to RRPagingCollectionView
#uicollectionviews #function