CoreData/Bindings : adding/updating records with 2 entities at the same time
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