• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData


  • Subject: Re: CoreData
  • From: Joshua Preston <email@hidden>
  • Date: Mon, 26 May 2008 01:02:31 -0400

Hey guys,

After continuing to tweak it, I've figured out what the problem was-- basically I think my NIB got corrupted as I was unable to change the NSArrayController for the Topics. I had to rebuild my NIB file. So far I've been unable to reproduce the problem...

Regards,

Joshua Preston
email@hidden




On May 25, 2008, at 9:14 PM, Joshua Preston wrote:

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


References: 
 >CoreData (From: Joshua Preston <email@hidden>)

  • Prev by Date: Cocoa UI In Carbon App Issues.
  • Next by Date: Re: No-frills print to label printer help please
  • Previous by thread: CoreData
  • Next by thread: Resizing a view to match the main NSWindow size?
  • Index(es):
    • Date
    • Thread