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

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

Referenced by (4)

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

Foundation framework includes NSString
NSData relatedTo NSString
Foundation includesType NSString