small medium large xlarge

Back to: All Forums  Core Data
Generic-user-small
31 Mar 2010, 20:58
Justin Mrkva (4 posts)

I have my bindings as such: Types Array Controller: http://drp.ly/J0h8j Combo Box: http://drp.ly/J0k1p

But the combo box draws its data from the Recipe list; i.e. if I add “Cake” and “Ice Cream” to the table, then look in the combo box, it has “Meat” (the default) alongside “Cake” and “Ice Cream”. I delved into the SQLite database file and the entities (Type) are being created correctly as far as I can tell. A copy of the database file is here if you need it: http://drp.ly/J0mfG

EDIT: Also, the Attributes of the Types array controller: http://drp.ly/J0sd6

Generic-user-small
01 Apr 2010, 04:56
Justin Mrkva (4 posts)

Okay, I figured it out by changing the type of the Items array controller to Class and then back to Entity. Strange…

Generic-user-small
06 Apr 2010, 00:47
Justin Mrkva (4 posts)

Okay, now there’s yet another problem: after going through the chapter on data migration (I’m just to the point where we finished version 2 of the application) the problem with the combo box is back (just like mentioned above). This is without changing anything else in the .xib.

Also, the ‘Meat’ and ‘Fish’ types are not migrating - after migration the field simply appears blank. I have no idea what I’m doing wrong. I’ve attached the Xcode project at http://drp.ly/KZM8N for reference. Any ideas?

You must be logged in to comment