Re: what is a valid key-path? why can't I bind to NSURL's -path method?
Re: what is a valid key-path? why can't I bind to NSURL's -path method?
- Subject: Re: what is a valid key-path? why can't I bind to NSURL's -path method?
- From: Perrog <email@hidden>
- Date: Mon, 19 Feb 2007 02:15:22 +0100
Woups, there was a typo saying something completely different, so here
is the correction.. :-)
2007/2/19, mmalc crawford <email@hidden>:
On Feb 18, 2007, at 2:59 PM, Perrog wrote:
> Are there any limitation what properties keypaths can designate?
<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/HowDoBindingsWork.html
>
<http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueObserving/index.html
>
But I cannot really find what I am looking for in these document. And
I've also checked Key-Value Coding Programming Guide that I think is
more appropriate, but there isn't much clues there either.
For example, in one situation when I use NSArrayController, I can bind
the table-coloumn value-property to contentsArray.<method-name> where
member-name is any property name, returning what is to be displayed in
the cell. Then, why can't I bind my text-field value-property to
currentLocation.path, where path is the property returning a portion
of the URL to be displayed in the NSTextField?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden