Re: Adding to-many objects programmatically
Re: Adding to-many objects programmatically
- Subject: Re: Adding to-many objects programmatically
- From: Jenny M <email@hidden>
- Date: Fri, 15 Jan 2010 22:00:47 -0800
I've been setting it using key-value coding: [object setValue:mySet
forKey:categories] so far, so that's good to know I'm on the right track.
Though at the moment I am apparently having difficulties comparing strings,
because I can't get my log messages to appear in the console.... hmm.
Okay, duh, I was not comparing strings properly. Okay, so my plan worked
fine.... cancel that, again, sigh. I feel silly, again.
I guess my question is also, was there any easier way to do it?? Is that how
it's normally done?
Modifying to-many relationships is described here:
>
<
> http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual...<http://www.google.com/url?sa=D&q=http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreData/Articles/cdUsingMOs.html#//apple_ref/doc/uid/TP40001803&usg=AFQjCNHb1oYI2EmfEkjyS_eShxw1CLfSPA>>
>
>
> What did you try that didn't work?
> mmalc
>
_______________________________________________
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