• 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 to Accessors of Application Delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding to Accessors of Application Delegate


  • Subject: Re: Binding to Accessors of Application Delegate
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 19 May 2006 13:48:45 -0700


On May 19, 2006, at 12:03 PM, Mike Abdullah wrote:
On 19 May 2006, at 19:55PM, Christopher Hickman wrote:
<http://developer.apple.com/documentation/Cocoa/Conceptual/Key
ValueCoding/index.html>
[...]
One thing that I'm not seeing is any way to bind to a method that requires
an argument. Is there any way around that? For example, how could I bind
to keys in the dictionary returned by the persistentDomainForName: method
(with the argument @"com.apple.desktop") of the NSUserDefaults object
referenced in Shared User Defaults at Model Key Path defaults?
Well normally you can just use the key of the dictionary:
someObject.someDictionary.myKey
However, if the key itself contains full stops, I'm not sure you can :(


The issue here is not that a key might require full stops, it's that the value is not a key -- it's an argument. And you cannot supply an argument like this in a key path.

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


  • Follow-Ups:
    • Re: Binding to Accessors of Application Delegate
      • From: Mike Abdullah <email@hidden>
    • RE: Binding to Accessors of Application Delegate
      • From: "Christopher Hickman" <email@hidden>
References: 
 >RE: Binding to Accessors of Application Delegate (From: "Christopher Hickman" <email@hidden>)
 >Re: Binding to Accessors of Application Delegate (From: Mike Abdullah <email@hidden>)

  • Prev by Date: NSAppleScript not in the main thread
  • Next by Date: Re: NSAppleScript not in the main thread
  • Previous by thread: Re: Binding to Accessors of Application Delegate
  • Next by thread: RE: Binding to Accessors of Application Delegate
  • Index(es):
    • Date
    • Thread