• 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: NSArray operator implementing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray operator implementing


  • Subject: Re: NSArray operator implementing
  • From: Steven Kramer <email@hidden>
  • Date: Mon, 29 Nov 2004 15:10:05 +0100


Op 27-nov-04 om 20:52 heeft mmalcolm crawford het volgende geschreven:


On Nov 27, 2004, at 9:25 AM, Cornelius Jaeger wrote:
so NSArray receive's an @ in it's valueForKeyPath and tries to find an internal method to resolve it? no need to register an observer?

Correct. Although I'm not sure if this is officially supported at the moment. I know there was a discussion about it somewhere -- Scott?


Could you hunt for the definitive answer on this, please? It looks to be very useful. I've encountered more than a few occasions where this would come in very, very, handy.


And will the KVO machinery automatically start listening for changes in the keypath behind the operator, so that adding an operator is really just a question of adding a method?

Much obliged,

Steven

--
email@hidden
http://sprintteam.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSArray operator implementing (From: Cornelius Jaeger <email@hidden>)
 >Re: NSArray operator implementing (From: Steven Kramer <email@hidden>)
 >Re: NSArray operator implementing (From: mmalcolm crawford <email@hidden>)
 >Re: NSArray operator implementing (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: A view to act as a cell, or vice versa
  • Next by Date: Re: Resizing an image inside a text view
  • Previous by thread: Re: NSArray operator implementing
  • Next by thread: Newbie, regarding retain count and program flow
  • Index(es):
    • Date
    • Thread