Hello Quinn,
Your question:
"What are the array elements?
My app comprises about 500 methods, many of them contain pairs of deprecated…"
-> Elements are NSStrings, NSArrays, NSMutableArrays, NSNumbers, NSSets, NSMutableSets
I don't understand what you mean by
"I think you should take this opportunity to factor out the common code so that you only have one copy of your archiving code."
What do you mean by "common code"? Do you mean "deprecated code"? "… only have one copy of your archiving code"?
As already said in my previous reply: Your proposal works. I need to do a big job to change them all bit by bit.
What is irritating is this Console feedback:
*** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1f30548c8) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.objects', even though it was not explicitly included in the client allowed classes set: '{( "'NSMutableArray' (0x1f304d690) [/System/Library/Frameworks/CoreFoundation.framework]" )}'. This will be disallowed in the future. BOOL _NSPersistentUIDeleteItemAtFileURL(NSURL *const __strong) Failed to stat item: file:///Users/gefa/Library/Containers/ch.psys.Observing-Las/Data/Library/Saved%20Application%20State/ch.psys.Observing-Las.savedState/restorecount.plist
Does this any harm to my code? Can I ignore it?
Best regards,
Gerhard