NSFileHandle
E820429
NSFileHandle is a Foundation framework class in Apple’s platforms that provides an object-oriented interface for reading from and writing to files and other data streams.
All labels observed (1)
| Label | Occurrences |
|---|---|
| NSFileHandle canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T9761695 — 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: NSFileHandle Context triple: [NSData, relatedTo, NSFileHandle]
-
A.
NSFileManager
NSFileManager is an Objective-C class in Apple’s Foundation framework that provides an interface for managing and manipulating the file system, including files, directories, and related attributes.
-
B.
Lisa File System
Lisa File System is the proprietary disk file system developed by Apple for its early Lisa computer, featuring a hierarchical directory structure and advanced metadata for its time.
-
C.
Apple Filing Protocol
Apple Filing Protocol is a network protocol developed by Apple for file services and sharing on Macintosh and AppleTalk-based networks.
-
D.
HFS Plus
HFS Plus is a proprietary journaling file system developed by Apple for use in macOS and earlier Macintosh operating systems, succeeding the original HFS to support larger files and volumes.
-
E.
NSData
NSData is a fundamental Objective-C class in Apple’s Foundation framework that represents immutable raw binary data.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: NSFileHandle Target entity description: NSFileHandle is a Foundation framework class in Apple’s platforms that provides an object-oriented interface for reading from and writing to files and other data streams.
-
A.
NSFileManager
NSFileManager is an Objective-C class in Apple’s Foundation framework that provides an interface for managing and manipulating the file system, including files, directories, and related attributes.
-
B.
Lisa File System
Lisa File System is the proprietary disk file system developed by Apple for its early Lisa computer, featuring a hierarchical directory structure and advanced metadata for its time.
-
C.
Apple Filing Protocol
Apple Filing Protocol is a network protocol developed by Apple for file services and sharing on Macintosh and AppleTalk-based networks.
-
D.
HFS Plus
HFS Plus is a proprietary journaling file system developed by Apple for use in macOS and earlier Macintosh operating systems, succeeding the original HFS to support larger files and volumes.
-
E.
NSData
NSData is a fundamental Objective-C class in Apple’s Foundation framework that represents immutable raw binary data.
- F. None of above. chosen
Statements (51)
| Predicate | Object |
|---|---|
| instanceOf |
Foundation class
ⓘ
Objective-C class ⓘ file handle abstraction ⓘ |
| availability |
iOS
NERFINISHED
ⓘ
macOS NERFINISHED ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| conformsTo |
NSCoding
NERFINISHED
ⓘ
NSSecureCoding NERFINISHED ⓘ |
| definedInFramework | Foundation NERFINISHED ⓘ |
| headerFile | NSFileHandle.h NERFINISHED ⓘ |
| introducedForLanguage | Objective-C NERFINISHED ⓘ |
| module | Foundation NERFINISHED ⓘ |
| platform | Apple platforms NERFINISHED ⓘ |
| providesInterfaceFor |
file I/O
ⓘ
reading data ⓘ seeking within files ⓘ working with file descriptors ⓘ writing data ⓘ |
| relatedTo | FileHandle ⓘ |
| replacedBy | FileHandle in Swift ⓘ |
| superclass | NSObject NERFINISHED ⓘ |
| supportsAPI |
availableData
ⓘ
closeFile ⓘ fileDescriptor ⓘ fileHandleForReadingAtPath: ⓘ fileHandleForUpdatingAtPath: ⓘ fileHandleForWritingAtPath: ⓘ fileHandleWithNullDevice ⓘ fileHandleWithStandardError ⓘ fileHandleWithStandardInput ⓘ fileHandleWithStandardOutput ⓘ initWithFileDescriptor: ⓘ readDataOfLength: ⓘ readDataToEndOfFile ⓘ readabilityHandler ⓘ seekToEndOfFile ⓘ seekToFileOffset: ⓘ synchronizeFile ⓘ truncateFileAtOffset: ⓘ writeData: ⓘ writeabilityHandler ⓘ |
| supportsFeature |
asynchronous I/O via handlers
ⓘ
file offset management ⓘ partial reads ⓘ partial writes ⓘ |
| usedFor |
reading from files
ⓘ
working with pipes ⓘ working with sockets ⓘ writing to files ⓘ |
| usedWithLanguage | Swift NERFINISHED ⓘ |
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: NSFileHandle Description of subject: NSFileHandle is a Foundation framework class in Apple’s platforms that provides an object-oriented interface for reading from and writing to files and other data streams.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.