Le 27 juil. 09 à 10:48, Debajit Adhikary a écrit :
I need to create a dictionary/hashmap where the
- Keys are enums
- Values are some subclass of NSObject
NSDictionary won't work here (enums don't conform to NSCopying).
I could perhaps use a CFDictionaryRef here, but I'd like to know if
is there
any other way to achieve this.
NSMapTable using NSIntegerMapKeyCallBack. (The C API is recommanded
when working with something else than object)
But CFDictionary is perfectly valid too.
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]