nsarchiving Questions

6

Solved

I'm receiving a message in the log saying 'bundleNamePlaceholder'[8424:100146] [general] 'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release ...
Selfimmolation asked 26/6, 2020 at 7:28

1

My app currently uses this deprecated function: id unarchivedObject=[NSKeyedUnarchiver unarchiveObjectWithData:codedData]; if([unarchivedObject isKindOfClass:[NSDictionary class]]){ // currently ...
Strive asked 21/9, 2019 at 18:39

6

For a data recovery program I need to be able to extract the values+types from files written by NSArchiver, without having access to Apple's CF / NS frameworks. The OS X file command reports such ...
Erkan asked 16/9, 2013 at 17:57

2

Solved

Any idea what are the best practices for archiving an NSViewController inside a window for resume (user interface preservation) purposes? I've tried archiving it in the window controller's encodeRe...
Succursal asked 13/2, 2013 at 1:25

2

Solved

I am using NSCoding to archive/unarchive a custom class as a method of data persistence. It works fine if the object is a subclass of NSObject, but I also have objects that are subclasses of custom...
Groceries asked 26/10, 2011 at 14:39
1

© 2022 - 2024 — McMap. All rights reserved.