• 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
CoreData/Bindings : adding/updating records with 2 entities at the same time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData/Bindings : adding/updating records with 2 entities at the same time


  • Subject: CoreData/Bindings : adding/updating records with 2 entities at the same time
  • From: Luc Vandal <email@hidden>
  • Date: Mon, 27 Aug 2007 19:29:04 -0400

I went through a few tutorials about bindings and coredata and did some research about this but haven't found anything. I know how to add a record to an entity but what I need to do is to add a record to 2 linked entities at the same time.

For example, let's say I have an entity called Email and another called Attachment. The relation between the two is one to one (for now but I may allow multiple attachments, hence having the attachment to have it's own entity). When I copy-drag the entity from Xcode to IB, it will create a NSPopUpButton for the attachment entity, as if I would want to select an existing attachment when I want to create a new one.

What I want to be able to do is to create a new Email record and add a related Attachment record at the same time, in the same window.

Could someone help me with this? Thanks!

_______________________________________________

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


  • Follow-Ups:
    • Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Re: NSTask setStandardOutput: then stringWithContentsOfFile gives empty string
  • Next by Date: Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
  • Previous by thread: Re: Retrieve local currency format ?
  • Next by thread: Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
  • Index(es):
    • Date
    • Thread