Skip to content

Sample project which implements the "Load more" option using a bottom spinner (UIActivityIndicatorView).

Notifications You must be signed in to change notification settings

lucianboboc/LBCollectionModel

Repository files navigation

LBCollectionModel

LBCollectionModel

This project will provide a collectionView delegate and data source class which implements the "Load more" option. To use this in your project you have to:

  1. copy the LBCollectionModel,LBFooter and LBCell classes into your project.
  2. In your view controller you have to instantiate this class: self.collectionModel = [[LBCollectionModel alloc] initWithCollectionView: self.myCollectionView];
  3. Perform an initial load: [self.collectionModel loadInitialData];
  4. Inside the LBCollectionModel class implementation replace the fetchMoreDataFromTheServerOrFromDatabaseWithCount: and configureCell:atIndexPath: methods with your implementation.

That's it, enjoy!

https://twitter.com/lucianboboc

About

Sample project which implements the "Load more" option using a bottom spinner (UIActivityIndicatorView).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published