On 2010 Jul 14, at 01:43, Amy Gibbs wrote: > I've got a kit Items array controller, that I've connected the add button to, > but it's adding a new kit, rather than a new kit <-> product relationship. > Maybe I've not got the array controller set up properly?
I believe you mean that it's *only* adding a kit, and is not adding a relationship to a product for this kit. Last week, we discussed how Apple's DepartmentAndEmployees sample does this. Yes, there is magic is in the array controller: http://www.cocoabuilder.com/archive/cocoa/290372-another-basic-coredata-question.html#290399 However, I'm not sure if this simple approach will work for you, because you have many products. How is it going to know which product(s) to relate the new kit to? Likely, you'll need to set up the relationship in code, using one of the other methods discussed in that thread. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
