Compound KeyPaths
Compound KeyPaths
- Subject: Compound KeyPaths
- From: Michael Petnuch <email@hidden>
- Date: Fri, 23 Sep 2005 00:22:47 -0400
Hello everyone,
I have a question about compound keypaths. I have a class that
has as its only member a NSMutableDictionary. In IB I bound to it
various text fields. So the key paths that I bound to it are say
properties.title or properties.name.
The problem is I have been trying to set up undo for edit in
this program. When I get notified for an undo the key path it return
is "properties.title". However, when I try to do:
[object setValue: newTitle forKey: keyPath];
I get an error saying that the object is not key value compliant for
the key path. So what function name was I implement for it to be
able to set compound keypaths such as properties.title.
Thanks.
Michael Petnuch
_______________________________________________
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