Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COI was aware of this as an option, but was cautioned it was a resource-heavy mechanism to use when a UITableView wasn't required. Do you share this opinion, or do you feel the convenience outweighs the cost? Also, what is the mechanism for navigating a FetchedResultsController without a table, i.e. when paired with a table, the act of scrolling past the current batch of records presumably fires the next batch of faults. But if I access fetchedObjects directly and just start iterating through it directly, what will trigger the next batch? Won't the MOC simply fault each object as it requires?
      singulars
    2. COIn addition to managing sections, a fetched results controller does change tracking for it's underlying MOC and can also implement caching. You can be advised of changes by becoming the delegate of the FRC. It can also do caching of the last results set. However, the batching behavior described above is not limited to using a FRC.
      singulars
    3. COFirst, thanks for taking so much time to answer my questions, but I'm still not clear about one thing. Say I have a ViewController that presents my objects one at a time using Next/Prev buttons. If I use an array to hold the first batch of results from my fetch request, I simply monitor where I am in the array index, and if want to go past the end of the first batch, I use fetchOffSet to fire the faults of the next batch of objects. That's pretty straightforward. But if use a FetchResultsController, how would I manage this task any differently re: navigation and fetching that next batch?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload