What is the most efficient way to use Core Data?

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-12-21T23:46:19Z Indexed on 2010/12/21 23:54 UTC
Read the original article Hit count: 173

Filed under:
|
|
|
|

I'm developing an iPad application using Core Data, and was hoping someone could clarify something about Core Data.

Right now, I populate my table by making a fetch request for all of my data in viewDidLoad. I'd rather make individual fetch requests in my tableView:cellForRowAtIndexPath:. Can anyone tell me which is more efficient, and why? In other words, is it much less efficient to make lots of small requests as opposed to one big request?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about ipad