nskeyedarchiver
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 分类:问答NSKeyedUnarchiver + UITableViewController not functioning correctly
I am attempting to use NSKeyedArchiver to store the state of my UITabBarController.Inside the tabs are UINavigationControllers which contain UITableViewControllers.[详细]
2023-01-23 17:45 分类:问答Default Directory of NSKeyedArchiver
I\'m using NSKeyedArchiver to save an object. I didn\'t write out a full path in the path argument so my file is being written somewhere in the Apple iPhone simulator.开发者_如何学运维[详细]
2023-01-18 14:40 分类:问答encodeWithCoder Not getting called
I have an object (testSession) that complies to NSCoder and when I use: [NSKeyedArchiver archiveRootObject:testSession toFile:filename];[详细]
2023-01-17 02:02 分类:问答NSKeyedArchiver archivedDataWithRootObject:
Is the parameter for NSKeyedArchiver archivedDataWithRootObject: supposed to be the array I a开发者_JAVA技巧m trying to save, or the array converted into NSData?Yuji\'s answer is right. but more accur[详细]
2023-01-16 22:54 分类:问答Do I need to use NSKeyedArchiver?
I have an object. It has only two NSStrings as properties. I created an array to hold several of these objects.[详细]
2023-01-16 22:34 分类:问答Can this code be used with an array of custom objects?
[[NSUserDefaults standardUserDefaults] setObject:myArray forKey:@\"myArray\"]; If I make an array of custom objects conform to the NSCoding protocol, then does the above work? Do I have to make both[详细]
2023-01-16 22:22 分类:问答How do I load this array into memory
I saved an array using the following code: NSData *data = [NSKeyedArchiver archivedDataWithRootObject:myArray];[详细]
2023-01-16 14:02 分类:问答NSArchiver vs. NSKeyedArchiver
How do you know if you need to use NSArch开发者_如何学JAVAiver or NSKeyedArchiver? What\'s the difference?NSArchiver supports the key-less coding methods like –encodeObject: or –decodePoint, while N[详细]
2023-01-16 13:59 分类:问答Location for archiving on iPhone
I\'m looking to archive some nested NSDictionary objects to be able to use the data in them at next start. To do so I was going to use [NSKeyedArchiver archiveRootObject: toFile: ] but was not sure wh[详细]
2023-01-16 12:18 分类:问答
加载中,请稍侯......