I starte iPhone Development five days ago.
To learn some techniques I created a view based demo application. Now I want to integrate Core Data in my app and run into a typical mvc "problem": Passing data between view. I read several postings here on stackoverflow (i.e. this one) but they doesn't cover the case if somebody wants you use the IB and not manually assign viewcontrollers to a parent tab/navigationcontroller.
You can see my IB Layout below. I want to declare a NSManagedObjectContext in my AppDelegate and pass it to each SubViewController (Like FriendsView or LocationView).
What's the best practice here? I cannot use any custom init methods because the viewcontrollers are created by the nib file.
If you need further information or code, just comment and I'm going to post it asap.
Thanks, Henrik
Screenshot 1
Screenshot 2