Re: Binding to Accessors of Application Delegate
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