Add a loader & pull to refresh functionality by switching on two options
ALcollectionView
offers more options out of the box.
Click on your collection view and look at the attributes inspector options:
- To add a loader, just turn the
Loader
option toON
and pick a color - To add pull to refresh functionality, simply switch that option
ON
as well
Run the project and see the loader before the data is populated.
After that, scroll up, and see your native UIRefreshControl
fully functional without having to worry about any implementation.
Impressive, right?!
Abstract Layer supports lots of features on the ALCollectionView
, so make sure to check the rest out!
As for customizability, Abstract Layer has a dedicated section for it.