4

I have a database of 50,000 records. I'm using core data to fetch records from a search. A search could return 1000 records easily. What is needed to page through these records using core data and uitableview? I would like to show 100 records at a time and have 'load more' button after viewing 100 records.

Joo Park
  • 3,115
  • 4
  • 27
  • 31

1 Answers1

7

Take a look at the NSFetchRequest and its controls over batches. You can set the batch size and the offset which will allow you to "page" through the data.

Marcus S. Zarra
  • 46,571
  • 9
  • 101
  • 182