I am finding it very difficult to grasp how the Views are loaded and wired with the TabBarController in the iPhoneCoreDataRecipes App.
Does anyone have any pointers on how to learn the concepts presented in this Apple sample App?
I have read the other items on Apple developer site.
- (void)applicationDidFinishLaunching:(UIApplication *...
Ok. this one's a challenge.
I have a tableview within a navigation controller.
I push it from the root, where I have an add action that allows me to add a new record. That works fine.
Now what I've tried to do is add this tableview to a tab bar view (without a tab bar controller cuz that won't work) but within the same navigation cont...
Hi guys,
I need some guidance with this issue I have. I have a navigational Controller, with the root controller making use of CoreData and an NSFetchController. Now, the root controller works fine. When I click on an item, hierarchically it should display the next UITable associating the values for the row in the previous root controll...
I see how to solve the problem but it bothers me that I don't understand why this doesn't work. I have a UIViewController subclass that uses Core Data, so it needs the NSManagedObjectContext. The controller is loaded from a nib file where it's placed under a navigation controller which is inside a tab controller.
I tried doing this in i...
Hi all,
I'm trying to write an application with Core Data, and I have been able to successfully read and write to the core data database. However, if I write to the database in one view controller, my other view controllers will not see the change until the app is closed then reopened again. This is really frustrating. I'm not entirely ...
I have several existing XML schema files with a defined data model. I would now like to incorporate the exact data model in an iPhone app, using Core Data for persistence. Does anyone know if there is a way to create a Managed Object Model other than by using the graphical tool in Xcode? It would take me a long long time to have to go th...
Hi, I have the following problem and I cannot figure out how to solve it. I have an NSSet which contains Person objects (NSDictionary with 2 keys: name, age). From time to time I get an NSArray of Person objects and I want to add them to my NSSet but I want to filter out the duplicates. I'm thinking I could use NSPredicates but I am read...
I am getting the error Wrong type argument to unary minus and Expected ';' before ':' token
The error occurs at the - (NSIndexPath *).... line
I am really New at this, so if there is anymore info needed, please ask, if you need to see the entire app, please e-mail me @ james at sevenotwo dot com. the app isn't really complicated. it is...
Why does Apples Core Data iPhone Recipes Example use a separate entity for called Image linked to the Recipe Entity via a one to one Relationship to store the recipes image. Why not just have an "image" attribute in the Recipe Entity?
Many Thanks
...
Using an NSPredicate, you can fetch only certain rows from Core Data using a subquery, e.g. SUBQUERY(records, $r, $r.length > 10).@count > 0. Is there a way to actually fetch the aggregated data from the subquery as a fetched property?
...