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.

Jump to: Statements Referenced by

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) NERFINISHED
discourages use of deprecated +archivedDataWithRootObject: without secure coding
framework Foundation NERFINISHED
introducedIn iOS 2.0 NERFINISHED
macOS 10.2 NERFINISHED
method + archiveRootObject:toFile:
+ archivedDataWithRootObject:
+ archivedDataWithRootObject:requiringSecureCoding:error:
- encodeObject:forKey:
- finishEncoding
- initRequiringSecureCoding:
outputFormatOption NSPropertyListBinaryFormat_v1_0
NSPropertyListXMLFormat_v1_0
owner Apple Inc. NERFINISHED
platform iOS
macOS
tvOS NERFINISHED
watchOS NERFINISHED
property outputFormat
requiresSecureCoding
purpose archiving objects
object serialization
persistent storage of objects
transmission of objects
relatedClass NSCoder
NSKeyedUnarchiver NERFINISHED
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 NERFINISHED
supports encoding object graphs
encoding property lists
secure coding
supportsLanguage Objective-C NERFINISHED
Swift NERFINISHED
usagePattern encode objects with keys
produce NSData archives
write archives to files

Referenced by (2)

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

NSCoder relatedTo NSKeyedArchiver
NSCoder superclassOf NSKeyedArchiver