NSCoding with Nested Custom Objects?
问题 I have a series of nested objects that I am needing to put through the NSCoding protocol so that I can save the top level object into NSUserDefaults. Here is the structure of objects: 'Instructor' class NSMutableArray that holds instances of... 'Class' class NSMutableArray that holds instances of... 'Student' class Name Property Number Property Money Property I am needing to save an instance of Instructor to NSUserDefaults or to documents for the app. As you can see the Instructor object is