nscoder
How do NSCoder and/or NSKeyedUnarchiver handle multiple decodings of the same object?
I was wondering how NSCoder would handle an object that was shared and encoded by multiple objects the next time it was decoded. Will it make two copies of the object, or will one object be decoded an[详细]
2023-04-08 09:18 分类:问答Reading persisted data from Apple/Objective-C in C#/.NET
is there a C#/.NET library or otherwise existing code that can read persisted data from Apple\'s se开发者_StackOverflow中文版rialization API, namely NSKeyedArchiver, NSKeyedUnarchiver, NSCoder?[详细]
2023-03-22 20:51 分类:问答NSUserDefaults, NSCoder, Custom Class - iPhone app question
I\'m having an error and I guess I\'m doing something wrong in the following process. Firstly, I have a class Contacts:[详细]
2023-03-20 14:51 分类:问答What is the correct way to unarchive something that was archived using encodeRootObject:?
I am attempting to use the Keyed Archiver classes for the first time and I\'m failing the last assert in this simple test (OCUnit):[详细]
2023-03-04 01:09 分类:问答how to use NSCoder for transfer images and strings together over bluetooth?
I want to use NSCoder and transfer NSString and UIImage with single NSData over bluetooth you can simply say, \"I want to sent NSData over bluetooth which contains UIImage and NSString\"[详细]
2023-02-21 01:41 分类:问答decoder with NSString crashed
I have a class for saveing score: #import \"cocos2d.h\" @interface ScoreData : NSObject<NSCoding> {[详细]
2023-02-18 04:37 分类:问答NSKeyedArchiver encode only part of an array
I have a list of objects that can sometimes change, and I want to keep a persistent cache on the device whenever the app is closed or move to th开发者_开发问答e background.[详细]
2023-01-31 12:49 分类:问答Save own Class with NSCoder
I\'m trying to store some custom class/data to a file in my iPhone/iPad app. I have a Class RSHighscoreList[详细]
2023-01-27 11:30 分类:问答Can I get all keys of a NSKeyedUnarchiver?
I want do something with these step: Encode a kind of object A with NSKeyedArchiver M and I can get a NSData X.[详细]
2023-01-26 09:44 分类:问答NSCoder and custom types
How do you use NSCoder to encode and decode custom types? For example, how would you use NSCoder with 开发者_如何学编程an instance of \"STATE\" where:[详细]
2023-01-21 08:24 分类:问答