I’m experiencing a weird problem. The sample recipe application, while letting me save ingredients, authors, recipes etc, it won’t let me save a recipe ingredient or the description. The combo boxes for ingredient and unit appear to work, but on selection they stay blank. On closing I then get “multiple validation errors” but nothing in the console. Any ideas?
Further, I’m using snow leopard and v3 of the recipes application.
put a break point in objc_exception_throw and then unroll the error that is being generated on exit. That will tell you what is going on inside of Core Data. Optionally you can download the sample code from here and compare it to your copy.
I have just noticed the same problem with Leopard. I have ‘fixed’ it by changing the NSComboBoxCell to NSPopUpButtonCell. For the Ingredient column I bound the following * Content - Ingredients.arrangedObjects * ContentValues - Ingredients.arrangedObjects.name * SelectedObject - Recipe Ingredients.arrangedObjects.ingredient
and similar bindings for the Units column. I was surprised when I saw the combo box bindings with the value set to ingredients.name, I couldn’t see how that would work.
Anyway I realise this is an oldish topic but it may help someone else who ends up here.