NSString
E236682
NSString is an Objective-C class representing immutable Unicode strings, widely used as the primary string type in Apple’s Cocoa and Cocoa Touch frameworks.
All labels observed (1)
| Label | Occurrences |
|---|---|
| NSString canonical | 4 |
How this entity was disambiguated
This entity first appeared as the object of triple T2142758 — 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: NSString Context triple: [NeXTSTEP Foundation Kit, defines, NSString]
-
A.
Objective-C
Objective-C is an object-oriented programming language primarily known for its use in developing software for Apple's macOS and iOS platforms.
-
B.
Swift Standard Library
The Swift Standard Library is the core collection of fundamental types, protocols, and utilities that provide essential functionality for writing programs in the Swift programming language.
-
C.
UIKit
UIKit is Apple’s primary user interface framework for building and managing iOS app UIs, handling views, controls, event handling, and application infrastructure.
-
D.
Unicode ICU
Unicode ICU (International Components for Unicode) is a widely used open-source library that provides robust, cross-platform support for Unicode text handling, internationalization, and localization in software applications.
-
E.
Swift
Swift is a common English surname borne by numerous notable figures, including the Anglo-Irish satirist Jonathan Swift.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: NSString Target entity description: NSString is an Objective-C class representing immutable Unicode strings, widely used as the primary string type in Apple’s Cocoa and Cocoa Touch frameworks.
-
A.
Objective-C
Objective-C is an object-oriented programming language primarily known for its use in developing software for Apple's macOS and iOS platforms.
-
B.
Swift Standard Library
The Swift Standard Library is the core collection of fundamental types, protocols, and utilities that provide essential functionality for writing programs in the Swift programming language.
-
C.
UIKit
UIKit is Apple’s primary user interface framework for building and managing iOS app UIs, handling views, controls, event handling, and application infrastructure.
-
D.
Unicode ICU
Unicode ICU (International Components for Unicode) is a widely used open-source library that provides robust, cross-platform support for Unicode text handling, internationalization, and localization in software applications.
-
E.
Swift
Swift is a common English surname borne by numerous notable figures, including the Anglo-Irish satirist Jonathan Swift.
- F. None of above. chosen
Statements (52)
| Predicate | Object |
|---|---|
| instanceOf |
Foundation framework class
ⓘ
Objective-C class ⓘ |
| bridgedTo | Swift String ⓘ |
| conformsToProtocol |
NSCopying
ⓘ
NSMutableCopying ⓘ NSSecureCoding ⓘ |
| creationMethod |
+localizedStringWithFormat:
ⓘ
+stringWithFormat: ⓘ +stringWithString: ⓘ +stringWithUTF8String: ⓘ |
| definedInFramework | Foundation ⓘ |
| headerFile | Foundation/NSString.h ⓘ |
| inheritsFrom | NSObject ⓘ |
| initializationMethod |
-initWithFormat:
ⓘ
-initWithString: ⓘ -initWithUTF8String: ⓘ |
| memoryManagementModel | reference counted ⓘ |
| primaryStringTypeFor |
macOS Cocoa
ⓘ
surface form:
Cocoa APIs
Cocoa Touch ⓘ
surface form:
Cocoa Touch APIs
Objective-C ⓘ |
| programmingLanguage | Objective-C ⓘ |
| providesMethod |
-capitalizedString
ⓘ
-caseInsensitiveCompare: ⓘ -characterAtIndex: ⓘ -compare: ⓘ -componentsSeparatedByString: ⓘ -hasPrefix: ⓘ -hasSuffix: ⓘ -isEqualToString: ⓘ -length ⓘ -lowercaseString ⓘ -rangeOfString: ⓘ -stringByAppendingString: ⓘ -stringByReplacingOccurrencesOfString:withString: ⓘ -substringFromIndex: ⓘ -substringToIndex: ⓘ -substringWithRange: ⓘ -uppercaseString ⓘ |
| represents | Unicode string ⓘ |
| storesCharactersAs | unichar sequence ⓘ |
| stringMutability | immutable ⓘ |
| supportsEncoding |
UTF-16
ⓘ
UTF-32 ⓘ UTF-8 ⓘ |
| tollFreeBridgedWith | CFStringRef ⓘ |
| usedInFramework |
Cocoa
ⓘ
Cocoa Touch ⓘ |
| usedOnPlatform |
iOS
ⓘ
iPadOS ⓘ macOS ⓘ tvOS ⓘ watchOS ⓘ |
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: NSString Description of subject: NSString is an Objective-C class representing immutable Unicode strings, widely used as the primary string type in Apple’s Cocoa and Cocoa Touch frameworks.
Referenced by (4)
Full triples — surface form annotated when it differs from this entity's canonical label.