NSArray

E770627

NSArray is an Objective-C class in Apple’s Foundation framework that represents an ordered, immutable collection of objects.

All labels observed (2)

Label Occurrences
NSArray canonical 5
Foundation/NSArray.h 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Foundation framework class
Objective-C class
accessMethod -firstObject
-lastObject
-objectAtIndex:
bridgedTo Swift Array
linked to: Array
collectionType ordered collection
conformsTo NSCopying
NSFastEnumeration
NSMutableCopying
NSSecureCoding
creationMethod +array
+arrayWithArray:
+arrayWithObject:
+arrayWithObjects:
definedInFramework Foundation
definedInModule Foundation
descriptionMethod -description
elementType Objective-C object
enumerationMethod -enumerateObjectsUsingBlock:
hasMutableSubclass NSMutableArray
headerFile Foundation/NSArray.h
linked to: NSArray
initializationMethod -initWithArray:
-initWithObjects:
introducedBy NeXTSTEP Foundation
isGenericInSwift YES
joiningMethod -componentsJoinedByString:
mutability immutable
nullabilityAnnotation nullable elements
ownedBy Apple Inc.
platform Apple
linked to: Apple Inc.

iOS
macOS
tvOS
watchOS
programmingLanguage Objective-C
queryMethod -containsObject:
-indexOfObject:
sortingMethod -sortedArrayUsingComparator:
-sortedArrayUsingSelector:
storesRetainedObjects YES
subarrayMethod -subarrayWithRange:
superclass NSObject
supportsFastEnumeration YES
supportsKVC YES
supportsKVO YES
threadSafety instances are generally immutable and thread-safe
tollFreeBridgedTo CFArrayRef

How these facts were elicited

Referenced by (6)

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

Foundation includesType NSArray
NSArray headerFile Foundation/NSArray.h
linked to: NSArray
NSFastEnumeration usedBy NSArray
NSRangeException thrownBy NSArray