• 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: what is a valid key-path? why can't I bind to NSURL's -path method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >what is a valid key-path? why can't I bind to NSURL's -path method? (From: Perrog <email@hidden>)
 >Re: what is a valid key-path? why can't I bind to NSURL's -path method? (From: mmalc crawford <email@hidden>)
 >Re: what is a valid key-path? why can't I bind to NSURL's -path method? (From: Perrog <email@hidden>)

  • Prev by Date: Re: Preventing beach balls
  • Next by Date: How can I get an image path dragged into NSImageView
  • Previous by thread: Re: what is a valid key-path? why can't I bind to NSURL's -path method?
  • Next by thread: Re: what is a valid key-path? why can't I bind to NSURL's -path method?
  • Index(es):
    • Date
    • Thread