Hee, I currently am using NSCoding to write my objects to data and save them to an file in ob开发者_开发技巧jective-c.
Base on the documentation and sample code that I开发者_JAVA技巧 have gone through, I got an impression that when a class defined in xcode is read into and configured in Interface Builder, an object ba
So I\'m trying to write a NSMutableArray of custom objects (a \"Course\" representing a college course for a Course Planner app) to a file when my application terminates and then read that array from
I was trying to serialize a SearchEntity object(custom object) containing an NSMutableDictionary containing a set of type CategoryEntity(custom object).
I have a leak in the following code: -(id)initWithCoder:(NSCoder *)aDecoder { if (self = [super init]) {
I have a NSMutableArray, each item in this array is different class. In each class has many field such as CPPlot, identifier,... (I am using CorePlot to develop a stock application). Now I would like
I am having trouble loading from saved data an instance of a custom class that conforms to the NSCoding protocol. My class has a UIImage property and when I assign a new UIImage to it the program cras
I was able to save an NSMutableArray of custom objects to NSUserDefaults by implementing NSCoding in the custom class. However, now I want to save an NSMutableArra开发者_StackOverflow中文版y of these
I want to add the archiving (NSCoding) protocol to my model class, and then i implement 开发者_高级运维both methods encodeWithCoder:(NSCoder*)coder and initWithCoder:(NSCoder*)coder. MyModelClass has
I can\'t seem to get NSCoding to store the \'frame\' or \'center\' properties of my UIImageView subclassed object.It seems to store everything else, both custom properties and standard class propertie