Is it better to store an NSArray of NSManagedObjects or NSManagedObjectIDs?

Posted by Kevin on Stack Overflow See other posts from Stack Overflow or by Kevin
Published on 2010-05-08T12:46:10Z Indexed on 2010/05/08 12:48 UTC
Read the original article Hit count: 141

Filed under:
|
|
|

In my application I need to keep track of a list of objects that are being displayed. Right now I have an NSArray with all of the NSManagedObjects. Would I be better off to store the ObjectIDs and then only request the object when I need it?

I am mainly concerned about memory at this point.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone