Instantiating Custom Class from NSDictionary
问题 I have a feeling that this is stupid question, but I'll ask anyway... I have a collection of NSDictionary objects whose key/value pairs correspond to a custom class I've created, call it MyClass . Is there an easy or "best practice" method for me to basically do something like MyClass * instance = [ map NSDictionary properties to MyClass ]; ? I have a feeling I need to do something with NSCoding or NSKeyedUnarchiver , but rather than stumble through it on my own, I figure someone out there