• 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: Steven W Riggins <email@hidden>
  • Date: Sat, 20 Oct 2007 08:16:33 -0700

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

  • Prev by Date: Window/View Size Constraining
  • Next by Date: Re: insertObject:in<myManagedObject>AtIndex:
  • Previous by thread: Re: insertObject:in<myManagedObject>AtIndex:
  • Next by thread: Re: insertObject:in<myManagedObject>AtIndex:
  • Index(es):
    • Date
    • Thread