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 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