NSKeyedArchiver

E820439

NSKeyedArchiver is a Foundation framework class in Apple platforms that serializes Objective‑C and Swift objects into an archive format suitable for persistent storage or transmission.

All labels observed (1)

Label Occurrences
NSKeyedArchiver canonical 7

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf Foundation class
Objective-C class
serialization API
archiveFormat keyed archive
canEncode Swift classes bridged to Objective-C
custom Objective-C classes
standard Foundation value types
category persistence API
conformsTo NSSecureCoding (via encoded objects)
linked to: NSSecureCoding
discourages use of deprecated +archivedDataWithRootObject: without secure coding
framework Foundation
introducedIn iOS 2.0
linked to: iPhone OS 2.0

macOS 10.2
method + archiveRootObject:toFile:
+ archivedDataWithRootObject:
+ archivedDataWithRootObject:requiringSecureCoding:error:
- encodeObject:forKey:
- finishEncoding
- initRequiringSecureCoding:
outputFormatOption NSPropertyListBinaryFormat_v1_0
NSPropertyListXMLFormat_v1_0
owner Apple Inc.
platform iOS
macOS
tvOS
watchOS
property outputFormat
requiresSecureCoding
purpose archiving objects
object serialization
persistent storage of objects
transmission of objects
relatedClass NSCoder
NSKeyedUnarchiver
replacedBy NSKeyedArchiver +archivedDataWithRootObject:requiringSecureCoding:error: for secure archives
requires encoded classes to conform to NSSecureCoding when secure coding is enabled
securityFeature secureCoding enforcement
superclass NSCoder
supports encoding object graphs
encoding property lists
secure coding
supportsLanguage Objective-C
Swift
usagePattern encode objects with keys
produce NSData archives
write archives to files

How these facts were elicited

Referenced by (7)

Full triples — surface form annotated when it differs from this entity's canonical label.

NSCoder superclassOf NSKeyedArchiver
NSCoder relatedTo NSKeyedArchiver
NSSecureCoding relatedTo NSKeyedArchiver
NSCoding relatedTo NSKeyedArchiver
NSSecureCoding enforcedBy NSKeyedArchiver
subject linked to: NSSecureCoding (via subclasses)
NSSecureCoding relatedTo NSKeyedArchiver
subject linked to: NSSecureCoding (via subclasses)
NSKeyedUnarchiver relatedClass NSKeyedArchiver