nskeyedarchiver
NSKeyedUnarchiver chokes when trying to unarchive more than one object
We\'ve got a custom matrix class, and we\'re attempting to archive and unarchive an NSArray containing four of them. The first seems to get unarchived fine (we can see that initWithCoder is called onc[详细]
2022-12-29 01:49 分类:问答monotouch NSKeyedArchiver
does anyone have 开发者_Python百科any examples of using NSKeyedArchiver in monotouch? i just want to store a list of pocos[详细]
2022-12-23 16:30 分类:问答Cannot Archive Array of Values Representing CGPoints
I have converted CGPoint To NSValue and开发者_开发技巧 put all the resulting values in q NSArray but when I use [NSKeyedArchiver archiveRootObject:ArrayName toFile:PointArrayFile]; it gives me error.[详细]
2022-12-23 13:37 分类:问答What format does NSKeyedArchiver save?
When I use NSKeyedArchiver is the data that is written a *.plist, I have seen some examples where people have the output file down as *.txt or even without an extension a开发者_StackOverflow社区t all?[详细]
2022-12-23 13:08 分类:问答When saving something to disk with NSKeyedArchiver, where is that stored on the iPhone?
Example: If I used this, where does the iPhone store the file? if (![NSKeyedArchiver archiveRootObject:your_object toFile:@\"filename.plist\"])[详细]
2022-12-23 05:28 分类:问答iPhone NSKeyedArchiver - the data saved with this class persist after app update via AppStore?
I am a newbie in the iPhone dev and I want to know if I will save some data(NSSDictinary) with NSKeyedArchiver, tis data persist 开发者_运维技巧after an update process of my app via AppStore?[详细]
2022-12-22 06:30 分类:问答Archive a NSMutableArray
I need to archive a NSMutableArray which is being controlled by an ArrayController. I tried this: [NSKeye开发者_如何学运维dArchiver archivedDataWithRootObject:array];[详细]
2022-12-21 22:37 分类:问答Why is my NSURLResponse leaking memory when archived?
I found a leak in my code where archiving and unarchiving an NSURLResponse was causing a leak, and I can\'t figure out why.[详细]
2022-12-21 19:52 分类:问答Encoding Large Object Graph Using NSKeyedArchiver Eats Memory
I\'m using a NSKeyedArchiver to encode a big object graph (76295 obje开发者_如何学编程cts.) It takes a lot of time but even worse the NSKeyedArchiver doesn\'t give back all its memory.[详细]
2022-12-20 09:39 分类:问答Encode NSArray or NSDictionary using NSCoder
I was wondering whether or not it is possible to use t开发者_如何学运维he NSCoder method: - (void)encodeObject:(id)objv forKey:(NSString *)key[详细]
2022-12-20 01:40 分类:问答