• 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: Adding to-many objects programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Adding to-many objects programmatically
      • From: mmalc Crawford <email@hidden>
References: 
 >Adding to-many objects programmatically (From: Jenny M <email@hidden>)

  • Prev by Date: Re: Adding to-many objects programmatically
  • Next by Date: Re: Adding to-many objects programmatically
  • Previous by thread: Re: Adding to-many objects programmatically
  • Next by thread: Re: Adding to-many objects programmatically
  • Index(es):
    • Date
    • Thread