• 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: Thu, 18 May 2006 13:44:36 -0700


On May 18, 2006, at 12:24 PM, Christopher Hickman wrote:

Can I use that cascading syntax for any method without an argument? I mean, if someAccessor returned a path in an
NSString, could I use the Model Key Path delegate.someAccessor.lastPathComponent to bind to the last component of
that path?


This is just normal key-value coding:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueCoding/index.html>


The only issue is whether a path component might change. If it may change, then it must be key-value observing compliant:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueObserving/index.html>


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: "Christopher Hickman" <email@hidden>
References: 
 >RE: Binding to Accessors of Application Delegate (From: "Christopher Hickman" <email@hidden>)

  • Prev by Date: Re: Problem using custom entity class with subclasses NSArrayController
  • Next by Date: Re: Problem using custom entity class with subclasses NSArrayController
  • Previous by thread: RE: Binding to Accessors of Application Delegate
  • Next by thread: RE: Binding to Accessors of Application Delegate
  • Index(es):
    • Date
    • Thread