NSMutableData
E821132
NSMutableData is a mutable subclass of NSData in Apple’s Foundation framework that allows dynamically modifying and managing a buffer of binary data.
All labels observed (1)
| Label | Occurrences |
|---|---|
| NSMutableData canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T9761693 — 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: NSMutableData Context triple: [NSData, relatedTo, NSMutableData]
-
A.
NSData
NSData is a fundamental Objective-C class in Apple’s Foundation framework that represents immutable raw binary data.
-
B.
NSMutableCopying
NSMutableCopying is an Objective-C protocol that allows objects to create mutable copies of themselves, typically used alongside the NSCopying protocol in Cocoa and Cocoa Touch frameworks.
-
C.
NSMutableSet
NSMutableSet is a Foundation framework collection class in Objective-C that represents an unordered set of unique objects whose contents can be modified after creation.
-
D.
NSCopying
NSCopying is an Objective-C protocol that defines the interface for creating immutable copies of objects.
-
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: NSMutableData Target entity description: NSMutableData is a mutable subclass of NSData in Apple’s Foundation framework that allows dynamically modifying and managing a buffer of binary data.
-
A.
NSData
NSData is a fundamental Objective-C class in Apple’s Foundation framework that represents immutable raw binary data.
-
B.
NSMutableCopying
NSMutableCopying is an Objective-C protocol that allows objects to create mutable copies of themselves, typically used alongside the NSCopying protocol in Cocoa and Cocoa Touch frameworks.
-
C.
NSMutableSet
NSMutableSet is a Foundation framework collection class in Objective-C that represents an unordered set of unique objects whose contents can be modified after creation.
-
D.
NSCopying
NSCopying is an Objective-C protocol that defines the interface for creating immutable copies of objects.
-
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 (49)
| Predicate | Object |
|---|---|
| instanceOf |
Foundation class
ⓘ
class ⓘ mutable data buffer type ⓘ |
| availableOn |
iOS
NERFINISHED
ⓘ
macOS NERFINISHED ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| bridgedTo | Swift Data (mutable behavior via inout / mutating APIs) ⓘ |
| canBeArchived | true ⓘ |
| canBeCopied | true ⓘ |
| canBeMutableCopied | true ⓘ |
| canGrowDynamically | true ⓘ |
| conformsTo |
NSCopying
NERFINISHED
ⓘ
NSMutableCopying NERFINISHED ⓘ NSSecureCoding NERFINISHED ⓘ |
| definedInFramework | Foundation NERFINISHED ⓘ |
| headerFile | <Foundation/NSData.h> ⓘ |
| introducedInPlatform |
iOS
NERFINISHED
ⓘ
macOS NERFINISHED ⓘ |
| isMutable | true ⓘ |
| isReferenceType | true ⓘ |
| language | Objective-C NERFINISHED ⓘ |
| memoryManagement | managed by ARC in Objective-C ⓘ |
| method |
+ dataWithCapacity:
ⓘ
+ dataWithLength: ⓘ - appendBytes:length: ⓘ - appendBytesNoCopy:length:freeWhenDone: ⓘ - appendData: ⓘ - increaseLengthBy: ⓘ - initWithCapacity: ⓘ - initWithLength: ⓘ - length ⓘ - mutableBytes ⓘ - replaceBytesInRange:withBytes: ⓘ - replaceBytesInRange:withBytes:length: ⓘ - resetBytesInRange: ⓘ - setData: ⓘ - setLength: ⓘ |
| module | Foundation NERFINISHED ⓘ |
| stores | raw bytes ⓘ |
| subclassOf | NSData NERFINISHED ⓘ |
| superclass | NSData NERFINISHED ⓘ |
| threadSafety | not inherently thread-safe ⓘ |
| tollFreeBridgedWith | CFMutableDataRef ⓘ |
| usedFor |
building and modifying byte buffers
ⓘ
file data manipulation in memory ⓘ managing mutable binary data ⓘ network data buffering ⓘ serializing and deserializing binary formats ⓘ |
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: NSMutableData Description of subject: NSMutableData is a mutable subclass of NSData in Apple’s Foundation framework that allows dynamically modifying and managing a buffer of binary data.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.