How embarrasing indeed, but I am unable to work out how to install or implement EGOTableViewPullRefresh. I really would appreciate a push in the right direction.
I have downloaded the source, and I've included it in my project.
In my view controller class I have replaced : UITableView with : EGORefreshTableHeaderView - but that's giving all sorts of problems.
I searched for several hours on Google, and read all the related topics here.
I am missing something fundamental because I also wasn't able to install the JSON stuff I got on github either. So I really would appreciate the help - which I could use for these kinds of things in the future.
Thanks a lot.
This is easy. Copy EGOTableViewPullRefresh folder to your project, add EGORefreshTableHeaderDelegate delegate to your viewcontrollerclass.h and implement the following methods:
- (void)reloadTableViewDataSource
- (void)doneLoadingTableViewData
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate
- (void)egoRefreshTableHeaderDidTriggerRefresh:(EGORefreshTableHeaderView*)view
- (BOOL)egoRefreshTableHeaderDataSourceIsLoading:(EGORefreshTableHeaderView*)view
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With