Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: insertObject:in<myManagedObject>AtIndex:



Thanks! I actually found that like 10 mins after I posted it, replied, to myself of course, sigh. :)

I guess the trick to bindings is finding very good tutorials, like Aaron's book, that make you ask the questions, vs wading through all of those docs trying to gleam how all of that can be useful.

Steve

On Oct 20, 2007, at 5:56 AM, Michael Babin wrote:

On Oct 20, 2007, at 4:01 AM, Steven W Riggins wrote:

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 :)

Read the Key-Value Coding Programming Guide:
<http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/index.html >


For an answer for this particular question, see:
<http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/AccessorConventions.html#//apple_ref/doc/uid/20002174-178830-BAJEDEFB >




_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >insertObject:in<myManagedObject>AtIndex: (From: Steven W Riggins <email@hidden>)
 >Re: insertObject:in<myManagedObject>AtIndex: (From: Michael Babin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.