Just want to make sure I'm doing right things with memory management of Core Data.
In my view controller's (which is tab bar view) viewDidLoad
I use NSFetchRequest
to retrieve the rows I need. Then I retain returned NSArray object, since I need to wait for user interaction to show the part of this data. In viewDidUnload
I release that array.
My concern is when the data will become more, would this mechanism be inefficient? I use just part of it anyway, but need to fetch all in case user pass through all data.