NSKeyedUnarchiverunarchiveTopLevelObjectWithDataerror
NSKeyedUnarchiver is a class in Apple's Foundation framework that decodes objects that were encoded with NSKeyedArchiver. It can reconstruct complex object graphs, preserving object identity and relationships, from binary data or files. The decoding process requires that the encoded objects implement the NSCoding protocol, or for modern usage, the NSSecureCoding protocol.
To perform decoding, you supply the archived data to an NSKeyedUnarchiver instance and request objects by key
Security is a key consideration with NSKeyedUnarchiver. Since the introduction of secure coding, developers are encouraged