Keyed Archiver Root Object Key

Keys that NSKeyedArchiver uses in the hierarchy of encoded objects.

Topics

Constants

let NSKeyedArchiveRootObjectKey: String

Archives created using the class method archivedData(withRootObject:) use this key for the root object in the hierarchy of encoded objects. The NSKeyedUnarchiver class method unarchiveObject(with:) looks for this root key as well.