Re: case-insensitive strings
Re: case-insensitive strings
- Subject: Re: case-insensitive strings
- From: matt neuburg <email@hidden>
- Date: Thu, 10 Oct 2002 15:53:29 -0700
>
Unfortunately, neither NSMapTable or CFDictionary provide the one
>
method you used as an example: allKeysForObject:. If you really want
>
to use an NSDictionary, then doing a custom subclass of NSObject which
>
holds an NSString is probably the best option. All you need is to
>
implement isEqual: and hash. Downside is having to create these
>
"wrapper" instances for insertion and probing.
Thanks, Ali, that's extremely helpful and valuable (though ultimately disheartening, since it seems a wrapper would be a lot of work for such a small thing...!) m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.