JMStatefulTableViewController icon indicating copy to clipboard operation
JMStatefulTableViewController copied to clipboard

Fix infinity scrolling

Open selfsx opened this issue 12 years ago • 3 comments

I've recently started to use JMStatefulTableViewController 0.1.1 with SVPullToRefresh 0.4.1. It seemed to me that issue #1 is still there. By digging code I realized that issue happens because after our callback in statefulTableViewControllerWillBeginLoadingNextPage: SVInfiniteScrollingView still has SVInfiniteScrollingStateLoading state and can't fire the handler. As mentioned in SVPullToRefresh docs you should manually call [tableView.infiniteScrollingView stopAnimating] inside infinity scrolling handler when you've done. It switches state to SVInfiniteScrollingStateStopped. I've added needed calls to _loadNextPage and it seems like everything works fine.

I've also added initWithCoder: for correct initialization of my controllers which instantiated from storyboards.

Sorry if I'm wrong with something. Thanks.

selfsx avatar Feb 20 '13 10:02 selfsx

Storyboard support would be amazing! thanks

KaterynaSytnyk avatar Mar 20 '15 15:03 KaterynaSytnyk

+1 more on the Storyboard support please! :) Thanks

robegamesios avatar Mar 20 '15 23:03 robegamesios

Please add a storyboard support. Thank you.

maksym-letiushov avatar Mar 21 '15 08:03 maksym-letiushov