• 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: KVC and "@" as key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVC and "@" as key


  • Subject: Re: KVC and "@" as key
  • From: Micha Fuhrmann <email@hidden>
  • Date: Wed, 15 Apr 2009 12:36:39 +0800

Thanks for responding, no that does not cut it.

Michael

On 15 avr. 09, at 12:24, Jeffrey Oleander wrote:




--- On Tue, 4/14/09, Micha Fuhrmann <email@hidden> wrote:

From: Micha Fuhrmann <email@hidden>
Subject: KVC and "@" as key
To: "cocoa-dev Users" <email@hidden>
Date: Tuesday, April 14, 2009, 11:19 PM
Hi there,

I'm bumping against KVC, indirectly. I've got a dictionary
with first character keys, each object of the key is an
Array with objects. So key "b" of my Dictionary is an array
with file objects' name starting with the letter "b".

The problem comes up when users have file names starting
with the character "@".

I'm calling [nameIndexesDictionary @"@"] and getting

[<NSCFDictionary 0x2729830> valueForUndefinedKey:]:
this class is not key value coding-compliant for the key .'

What can I do about it? Any help appreciated.

I'm not certain, but try it this way: [nameIndexesDictionary @"@@"]




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Prev by Date: KVC and "@" as key
  • Next by Date: Re: KVC and "@" as key
  • Previous by thread: Re: KVC and "@" as key
  • Next by thread: Struct Property Key Path
  • Index(es):
    • Date
    • Thread