how to get objects of type Class to play with NSCoder?
how to get objects of type Class to play with NSCoder?
- Subject: how to get objects of type Class to play with NSCoder?
- From: Greg Best <email@hidden>
- Date: Tue, 18 Sep 2007 00:38:53 -0700
I'm trying to archive an NSMutableDictionary where the objects are of
type Class. Class doesn't seem to work well with
encodeObject:forKey:, so I need to handle it manually. How do I do
this?
I'm guessing I need to pick apart the dictionary and manually archive
something I can recreate the Class object from, most likely a string
holding the class name, but I can't seem to find any documentation on
Class. Is there a way to request the class name as an NSString, and
to create a Class given an NSString holding it's name?
Thanks.
_______________________________________________
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