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 | 2 |
How this entity was disambiguated
This entity first appeared as the object of triple T9761816 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: NSKeyedArchiver Context triple: [NSCoder, superclassOf, NSKeyedArchiver]
-
A.
NSCoder
NSCoder is an abstract class in Apple’s Foundation framework that provides an interface for encoding and decoding objects and values for archiving and serialization.
-
B.
NSData
NSData is a fundamental Objective-C class in Apple’s Foundation framework that represents immutable raw binary data.
-
C.
Key-Value Observing
Key-Value Observing is an Objective-C and Swift mechanism that lets objects be notified and react when specific properties of other objects change.
-
D.
NSObject
NSObject is the root base class in Objective-C from which most classes in Cocoa and Cocoa Touch inherit, providing fundamental object behavior such as memory management and message sending.
-
E.
NSArray
NSArray is an Objective-C class in Apple’s Foundation framework that represents an ordered, immutable collection of objects.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: NSKeyedArchiver Target entity description: 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.
-
A.
NSCoder
NSCoder is an abstract class in Apple’s Foundation framework that provides an interface for encoding and decoding objects and values for archiving and serialization.
-
B.
NSData
NSData is a fundamental Objective-C class in Apple’s Foundation framework that represents immutable raw binary data.
-
C.
Key-Value Observing
Key-Value Observing is an Objective-C and Swift mechanism that lets objects be notified and react when specific properties of other objects change.
-
D.
NSObject
NSObject is the root base class in Objective-C from which most classes in Cocoa and Cocoa Touch inherit, providing fundamental object behavior such as memory management and message sending.
-
E.
NSArray
NSArray is an Objective-C class in Apple’s Foundation framework that represents an ordered, immutable collection of objects.
- F. None of above. chosen
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 ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: NSKeyedArchiver Description of subject: 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.
Referenced by (2)
Full triples — surface form annotated when it differs from this entity's canonical label.