• 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 09:04:20 +0100

2007/2/19, mmalc crawford <email@hidden>:

On Feb 18, 2007, at 5:12 PM, Perrog wrote:

> But I cannot really find what I am looking for in these document.

>
It's not clear why not.  All the required information is there.

The reference is great, but does not help me. Because I can't find either in KVC, KVO or KVB Guides why a view bounded to my data-model property currentLocation.path cause a segmentation fault.

Am I using a malformed key-path, and the extra key component path in
currentLocation.path is faulty? Or because the -path accessor returns
an object with a life-time invalid when observers are notified?

In my case, currentLocation.path is really evaluated value of
currentLocation. The extra key component path work like a transformer,
without actually subclassing NSValueTransformer. I even reminiscent I
read this was legal key-path expressions, but can't find it now.

Thanks for your help!
Rog
_______________________________________________

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

  • Prev by Date: Re: NSOpenPanel instantly closing
  • Next by Date: Re: NSConnection - is this expected behavior?
  • Previous by thread: Re: what is a valid key-path? why can't I bind to NSURL's -path method?
  • Next by thread: Preventing beach balls
  • Index(es):
    • Date
    • Thread