• 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: Binding/KVC : valueForKey: and NSDictionary (was: valid accessor for framework objects. (was: implicit and explicit invocation of description method))
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding/KVC : valueForKey: and NSDictionary (was: valid accessor for framework objects. (was: implicit and explicit invocation of description method))


  • Subject: Re: Binding/KVC : valueForKey: and NSDictionary (was: valid accessor for framework objects. (was: implicit and explicit invocation of description method))
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 6 Oct 2004 09:24:41 -0700


On Oct 6, 2004, at 3:01 AM, Max Barel wrote:

A private mail reply suggested that the @count array operator might work for NSDictionary. IT DOES.

Sorry, that wasn't supposed to be private, I just sent it from the wrong account and it got held... As I said in the original, it was a Tuesday...

One might consider if an operator '@self', which would give access to the dictionary (or array) using the default KVC implementation, might be useful: Thus, rather than having to specify sn explicit '@count' operator, one could use the key-path '@self.count' - and that would work for any method(s) that might be added to arrays, dictionaries, or other collection classes. Hmmm...
I agree with your objection and subscribe to the @self suggestion, simple and efficient. Do you think I should update the enhancement request?

If you want to mail me an update, I'll do that for you.

mmalc

_______________________________________________
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: 
 >Binding/KVC : implicit and explicit invocation of description method (From: Max Barel <email@hidden>)
 >Re: Binding/KVC : implicit and explicit invocation of description method (From: Scott Anguish <email@hidden>)
 >Re: Binding/KVC : valid accessor for framework objects. (was: implicit and explicit invocation of description method) (From: Max Barel <email@hidden>)
 >Re: Binding/KVC : valid accessor for framework objects. (was: implicit and explicit invocation of description method) (From: Scott Anguish <email@hidden>)
 >Re: Binding/KVC : valid accessor for framework objects. (was: implicit and explicit invocation of description method) (From: Max Barel <email@hidden>)
 >Re: Binding/KVC : valueForKey: and NSDictionary (was: valid accessor for framework objects. (was: implicit and explicit invocation of description method)) (From: Max Barel <email@hidden>)
 >Re: Binding/KVC : valueForKey: and NSDictionary (was: valid accessor for framework objects. (was: implicit and explicit invocation of description method)) (From: mmalcolm crawford <email@hidden>)
 >Re: Binding/KVC : valueForKey: and NSDictionary (was: valid accessor for framework objects. (was: implicit and explicit invocation of description method)) (From: Max Barel <email@hidden>)
 >Re: Binding/KVC : valueForKey: and NSDictionary (was: valid accessor for framework objects. (was: implicit and explicit invocation of description method)) (From: Max Barel <email@hidden>)

  • Prev by Date: Re: Help With NSURLConnection Authentication
  • Next by Date: Re: NSImage in a NSMenuItem?
  • Previous by thread: Re: Binding/KVC : valueForKey: and NSDictionary (was: valid accessor for framework objects. (was: implicit and explicit invocation of description method))
  • Next by thread: Scripting and objectSpecifier issue
  • Index(es):
    • Date
    • Thread