Re: insertObject:in<myManagedObject>AtIndex:
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