• 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: insertObject:in<myManagedObject>AtIndex:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: insertObject:in<myManagedObject>AtIndex:


  • Subject: Re: insertObject:in<myManagedObject>AtIndex:
  • From: David Spooner <email@hidden>
  • Date: Sat, 20 Oct 2007 09:20:20 -0600


On 20-Oct-07, at 3:01 AM, Steven W Riggins wrote:

Heyas,

Am going through Hillegass' book boning up on bindings and such, and am doing the undo stuff with bindings where I wrote a insertObject:inEmployeesAtIndex: and removeObjectFromEmployeesAtIndex: method.

Ok so that is fine and dandy, I read through the cocoa bindings docs, but I can't for the life of me find where this magic formula for insert: and remove: is to know that I could even write these methods in the first place.

Anyone have a better pointer? This is the kind of magic that makes bindings so confusing :)

Thanks!

Apart from the page Michael referenced, there are additional and more detailed comments for the methods -valueForKey: and -setValue:forKey: in NSKeyValueCoding.h; these comments also detail how to implement NSSet properties. This information should certainly be made available in the documentation and you may want to use Apple's feedback mechanism at the bottom of each page to help them make it more accessible...


dave
_______________________________________________


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


References: 
 >insertObject:in<myManagedObject>AtIndex: (From: Steven W Riggins <email@hidden>)

  • Prev by Date: Re: insertObject:in<myManagedObject>AtIndex:
  • Next by Date: detecting when an app is beach-balling
  • Previous by thread: Re: insertObject:in<myManagedObject>AtIndex:
  • Next by thread: What is a task?
  • Index(es):
    • Date
    • Thread