-3

i’want to use pagination in a controller that displays posts downloaded from a server so that I don’t download all posts together . Any help on how to achieve this?

mrc
  • 511
  • 5
  • 9

1 Answers1

0

I tend to use this library for swift.

https://github.com/pronebird/UIScrollView-InfiniteScroll

tableView.addInfiniteScroll { [weak self] (tableView) -> Void in
  // update table view, pagination.
}
iOSCodeJunkie
  • 191
  • 1
  • 4
  • what about a solution without third party libraries? I'm trying to look at this repo code to implement my own solution but I'm not familiar with objective c – mrc Jan 20 '18 at 08:57