![]() | A few questions about Core Data |
|
21 Feb 2010, 23:44
Jennifer Rosamond (3 posts) |
I have a navigation based iphone project using Core Data. In all of the examples I’ve seen and in the XCode template, the rootviewcontroller loads all the data. However, in my app the rootviewcontroller is just a three item menu so when the user touches a menu item, a table view is loaded that needs to access data. I have a few questions about this: |
|
22 Feb 2010, 16:47
Marcus S. Zarra (239 posts) |
I would have your root view controller hand off the
While the root may not need access to the |
|
22 Feb 2010, 21:15
Jennifer Rosamond (3 posts) |
Thanks Marcus. I have one other question. In the case of the application I described above, would it be better to transfer the Core Data Stack methods that the template places in the appDelegate to the root view controller? Or is this code required to be in the appDelegate? I apologize if these are stupid questions. Even with the book and the apple documentation, I am having a difficult time applying Core Data to this app. |
|
23 Feb 2010, 15:47
Marcus S. Zarra (239 posts) |
There is never a stupid question, just unanswered ones :) I would recommend leaving it in the app delegate so that you can: 1. build up and tear down view controllers safely; |
| You must be logged in to comment |

