CoreData
CoreData
- Subject: CoreData
- From: Joshua Preston <email@hidden>
- Date: Sun, 25 May 2008 21:14:05 -0400
Hey guys,
I'm attempting to follow the Core Data tutorial located at
cocoadevcentral (http://cocoadevcentral.com/articles/000085.php).
Anyhow, I've followed it step by step, making adjustments for Xcode
3.0, and seem to keep hitting a dead end. I've setup my array
controllers, bound all my buttons and table columns. I can click the
add buttons, which creates a new post, title and author. However,
when I click on the "Topic" add button, it creates a new Topic, which
also seems to create a new Post and visa-versa. Also, changing
"title" field of the post also changes the "title" field of the
Topic. I've ensured the tables and buttons are bound to the correct
array controllers, etc.
The only thing that fixes it is adjusting my data model renaming the
"title" field of either the post or topic entity, and changing it in
IB... Surely I must be doing something wrong, but it seems that I
can't have two entities with the same attribute name...
I'm not sure I can make attachments to this list, and I've gone over
everything two to three times, anyone ever run into a similar scenario
or could possibly shed some light on my problem?
Regards,
Joshua Preston
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden