• 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
"." in key path / NSKeyValueCoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"." in key path / NSKeyValueCoding


  • Subject: "." in key path / NSKeyValueCoding
  • From: Aaron Tuller <email@hidden>
  • Date: Wed, 19 Jun 2002 22:52:32 -0700

I'm using NSKeyValueCoding and in certain circumstances a key has a period in it so when I do valueForKeyPath: it gets really confused. for example if myKey is "some.string" and my next key is "secondKey" it read the path as "some.string.secondKey" having three elements.

is there anyway to escape the period in the first key? I tried a slash and that did nothing. or maybe simply the answer is make sure there are no periods in your key path except to separate out keys.

thanks.

-aaron
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: "." in key path / NSKeyValueCoding
      • From: Michael Gersten <email@hidden>
  • Prev by Date: Re: keyEquivalentModifierMask problems with Shift
  • Next by Date: Re: [Q] large flat files usage
  • Previous by thread: Re: Neep help implementing Resizing...
  • Next by thread: Re: "." in key path / NSKeyValueCoding
  • Index(es):
    • Date
    • Thread