• 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
Compound KeyPaths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Compound KeyPaths
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Timer firing not by set interval
  • Next by Date: Re: Compound KeyPaths
  • Previous by thread: Timer firing not by set interval
  • Next by thread: Re: Compound KeyPaths
  • Index(es):
    • Date
    • Thread