NSMutableArray extension type

NSMutableArray

on
Implemented types
Available extensions

Constructors

NSMutableArray()
Returns a new instance of NSMutableArray constructed with the default new method.
NSMutableArray.as(ObjCObject other)
Constructs a NSMutableArray that points to the same underlying object as other.
NSMutableArray.fromPointer(Pointer<ObjCObjectImpl> other, {bool retain = false, bool release = false})
Constructs a NSMutableArray that wraps the given raw object pointer.

Properties

count int

Available on NSArray, provided by the NSArray$Methods extension

count
no setter
debugDescription NSString

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

debugDescription
no setter
description NSString

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

description
no setter
description$1 NSString

Available on NSArray, provided by the NSExtendedArray extension

description
no setter
firstObject ObjCObject?

Available on NSArray, provided by the NSExtendedArray extension

firstObject
no setter
hash int

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

hash
no setter
hashCode int
The hash code for this object.
no setterinherited
isProxy bool

Available on NSObject, provided by the NSObject$Methods extension

isProxy
no setter
isProxy bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

isProxy
no setter
lastObject ObjCObject?

Available on NSArray, provided by the NSExtendedArray extension

lastObject
no setter
object$ ObjCObject
final
ref ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortedArrayHint NSData

Available on NSArray, provided by the NSExtendedArray extension

sortedArrayHint
no setter
superclass ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

superclass
no setter

Methods

addObject(ObjCObject anObject) → void

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

addObject:
addObjectsFromArray(NSArray otherArray) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

addObjectsFromArray:
addObserver(Observer observer, {required NSString forKeyPath, int options = NSKeyValueObservingOptions.NSKeyValueObservingOptionNew, Pointer<Void>? context}) Observation

Available on NSObject, provided by the Observed extension

Registers the Observer to receive KVO notifications for the key path relative to this NSObject.
arrayByAddingObject(ObjCObject anObject) NSArray

Available on NSArray, provided by the NSExtendedArray extension

arrayByAddingObject:
arrayByAddingObjectsFromArray(NSArray otherArray) NSArray

Available on NSArray, provided by the NSExtendedArray extension

arrayByAddingObjectsFromArray:
asDart() List<ObjCObject>

Available on NSArray, provided by the NSArrayToAdapter extension

Wraps this NSArray in an adapter that implements an immutable List.
asDart() List<ObjCObject>

Available on NSMutableArray, provided by the NSMutableArrayToAdapter extension

Wraps this NSMutableArray in an adapter that implements List.
autorelease() NSObjectProtocol

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

autorelease
class$() ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

class
componentsJoinedByString(NSString separator) NSString

Available on NSArray, provided by the NSExtendedArray extension

componentsJoinedByString:
conformsToProtocol(Protocol aProtocol) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

conformsToProtocol:
containsObject(ObjCObject anObject) bool

Available on NSArray, provided by the NSExtendedArray extension

containsObject:
copy() ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

copy
copyWithZone(Pointer<NSZone> zone) ObjCObject

Available on NSCopying, provided by the NSCopying$Methods extension

copyWithZone:
countByEnumeratingWithState(Pointer<NSFastEnumerationState> state, {required Pointer<Pointer<ObjCObjectImpl>> objects, required int count}) int

Available on NSArray, provided by the NSArray$Methods extension

countByEnumeratingWithState:objects:count:
countByEnumeratingWithState(Pointer<NSFastEnumerationState> state, {required Pointer<Pointer<ObjCObjectImpl>> objects, required int count}) int

Available on NSFastEnumeration, provided by the NSFastEnumeration$Methods extension

countByEnumeratingWithState:objects:count:
dealloc() → void

Available on NSObject, provided by the NSObject$Methods extension

dealloc
descriptionWithLocale(ObjCObject? locale) NSString

Available on NSArray, provided by the NSExtendedArray extension

descriptionWithLocale:
descriptionWithLocale$1(ObjCObject? locale, {required int indent}) NSString

Available on NSArray, provided by the NSExtendedArray extension

descriptionWithLocale:indent:
doesNotRecognizeSelector(Pointer<ObjCSelector> aSelector) → void

Available on NSObject, provided by the NSObject$Methods extension

doesNotRecognizeSelector:
encodeWithCoder(NSCoder coder) → void

Available on NSArray, provided by the NSArray$Methods extension

encodeWithCoder:
encodeWithCoder(NSCoder coder) → void

Available on NSCoding, provided by the NSCoding$Methods extension

encodeWithCoder:
encodeWithCoder(NSCoder coder) → void

Available on NSSecureCoding, provided by the NSSecureCoding$Methods extension

encodeWithCoder:
enumerateObjectsAtIndexes(NSIndexSet s, {required int options, required ObjCBlock<Void Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> usingBlock}) → void

Available on NSArray, provided by the NSExtendedArray extension

enumerateObjectsAtIndexes:options:usingBlock:
enumerateObjectsUsingBlock(ObjCBlock<Void Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> block) → void

Available on NSArray, provided by the NSExtendedArray extension

enumerateObjectsUsingBlock:
enumerateObjectsWithOptions(int opts, {required ObjCBlock<Void Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> usingBlock}) → void

Available on NSArray, provided by the NSExtendedArray extension

enumerateObjectsWithOptions:usingBlock:
exchangeObjectAtIndex(int idx1, {required int withObjectAtIndex}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

exchangeObjectAtIndex:withObjectAtIndex:
firstObjectCommonWithArray(NSArray otherArray) ObjCObject?

Available on NSArray, provided by the NSExtendedArray extension

firstObjectCommonWithArray:
forwardingTargetForSelector(Pointer<ObjCSelector> aSelector) ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

forwardingTargetForSelector:
forwardInvocation(NSInvocation anInvocation) → void

Available on NSObject, provided by the NSObject$Methods extension

forwardInvocation:
getObjects(Pointer<Pointer<ObjCObjectImpl>> objects, {required NSRange range}) → void

Available on NSArray, provided by the NSExtendedArray extension

getObjects:range:
indexesOfObjectsAtIndexes(NSIndexSet s, {required int options, required ObjCBlock<Bool Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> passingTest}) NSIndexSet

Available on NSArray, provided by the NSExtendedArray extension

indexesOfObjectsAtIndexes:options:passingTest:
indexesOfObjectsPassingTest(ObjCBlock<Bool Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> predicate) NSIndexSet

Available on NSArray, provided by the NSExtendedArray extension

indexesOfObjectsPassingTest:
indexesOfObjectsWithOptions(int opts, {required ObjCBlock<Bool Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> passingTest}) NSIndexSet

Available on NSArray, provided by the NSExtendedArray extension

indexesOfObjectsWithOptions:passingTest:
indexOfObject(ObjCObject anObject) int

Available on NSArray, provided by the NSExtendedArray extension

indexOfObject:
indexOfObject$1(ObjCObject anObject, {required NSRange inRange}) int

Available on NSArray, provided by the NSExtendedArray extension

indexOfObject:inRange:
indexOfObject$2(ObjCObject obj, {required NSRange inSortedRange, required int options, required ObjCBlock<Long Function(Pointer<ObjCObjectImpl>, Pointer<ObjCObjectImpl>)> usingComparator}) int

Available on NSArray, provided by the NSExtendedArray extension

indexOfObject:inSortedRange:options:usingComparator:
indexOfObjectAtIndexes(NSIndexSet s, {required int options, required ObjCBlock<Bool Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> passingTest}) int

Available on NSArray, provided by the NSExtendedArray extension

indexOfObjectAtIndexes:options:passingTest:
indexOfObjectIdenticalTo(ObjCObject anObject) int

Available on NSArray, provided by the NSExtendedArray extension

indexOfObjectIdenticalTo:
indexOfObjectIdenticalTo$1(ObjCObject anObject, {required NSRange inRange}) int

Available on NSArray, provided by the NSExtendedArray extension

indexOfObjectIdenticalTo:inRange:
indexOfObjectPassingTest(ObjCBlock<Bool Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> predicate) int

Available on NSArray, provided by the NSExtendedArray extension

indexOfObjectPassingTest:
indexOfObjectWithOptions(int opts, {required ObjCBlock<Bool Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> passingTest}) int

Available on NSArray, provided by the NSExtendedArray extension

indexOfObjectWithOptions:passingTest:
init() NSObject

Available on NSObject, provided by the NSObject$Methods extension

init
init() NSArray

Available on NSArray, provided by the NSArray$Methods extension

init
init() NSMutableArray

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

init
initWithArray(NSArray array) NSArray

Available on NSArray, provided by the NSArray$Methods extension

initWithArray:
initWithArray(NSArray array) NSMutableArray

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

initWithArray:
initWithArray$1(NSArray array, {required bool copyItems}) NSArray

Available on NSArray, provided by the NSArray$Methods extension

initWithArray:copyItems:
initWithArray$1(NSArray array, {required bool copyItems}) NSMutableArray

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

initWithArray:copyItems:
initWithCapacity(int numItems) NSMutableArray

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

initWithCapacity:
initWithCoder(NSCoder coder) NSSecureCoding?

Available on NSSecureCoding, provided by the NSSecureCoding$Methods extension

initWithCoder:
initWithCoder(NSCoder coder) NSCoding?

Available on NSCoding, provided by the NSCoding$Methods extension

initWithCoder:
initWithCoder(NSCoder coder) NSArray?

Available on NSArray, provided by the NSArray$Methods extension

initWithCoder:
initWithCoder(NSCoder coder) NSMutableArray?

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

initWithCoder:
initWithObjects(ObjCObject firstObj) NSMutableArray

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

initWithObjects:
initWithObjects(ObjCObject firstObj) NSArray

Available on NSArray, provided by the NSArray$Methods extension

initWithObjects:
initWithObjects$1(Pointer<Pointer<ObjCObjectImpl>> objects, {required int count}) NSMutableArray

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

initWithObjects:count:
initWithObjects$1(Pointer<Pointer<ObjCObjectImpl>> objects, {required int count}) NSArray

Available on NSArray, provided by the NSArray$Methods extension

initWithObjects:count:
insertObject(ObjCObject anObject, {required int atIndex}) → void

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

insertObject:atIndex:
insertObjects(NSArray objects, {required NSIndexSet atIndexes}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

insertObjects:atIndexes:
isEqual(ObjCObject object) bool

Available on NSObject, provided by the NSObject$Methods extension

isEqual:
isEqual(ObjCObject object) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

isEqual:
isEqualToArray(NSArray otherArray) bool

Available on NSArray, provided by the NSExtendedArray extension

isEqualToArray:
isKindOfClass(ObjCObject aClass) bool

Available on NSObject, provided by the NSObject$Methods extension

isKindOfClass:
isKindOfClass(ObjCObject aClass) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

isKindOfClass:
isMemberOfClass(ObjCObject aClass) bool

Available on NSObject, provided by the NSObject$Methods extension

isMemberOfClass:
isMemberOfClass(ObjCObject aClass) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

isMemberOfClass:
makeObjectsPerformSelector(Pointer<ObjCSelector> aSelector) → void

Available on NSArray, provided by the NSExtendedArray extension

makeObjectsPerformSelector:
makeObjectsPerformSelector$1(Pointer<ObjCSelector> aSelector, {ObjCObject? withObject}) → void

Available on NSArray, provided by the NSExtendedArray extension

makeObjectsPerformSelector:withObject:
methodForSelector(Pointer<ObjCSelector> aSelector) Pointer<NativeFunction<Void Function()>>

Available on NSObject, provided by the NSObject$Methods extension

methodForSelector:
methodSignatureForSelector(Pointer<ObjCSelector> aSelector) NSMethodSignature

Available on NSObject, provided by the NSObject$Methods extension

methodSignatureForSelector:
mutableCopy() ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

mutableCopy
mutableCopyWithZone(Pointer<NSZone> zone) ObjCObject

Available on NSMutableCopying, provided by the NSMutableCopying$Methods extension

mutableCopyWithZone:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
objectAtIndex(int index) ObjCObject

Available on NSArray, provided by the NSArray$Methods extension

objectAtIndex:
objectAtIndexedSubscript(int idx) ObjCObject

Available on NSArray, provided by the NSExtendedArray extension

objectAtIndexedSubscript:
objectEnumerator() NSEnumerator

Available on NSArray, provided by the NSExtendedArray extension

objectEnumerator
objectsAtIndexes(NSIndexSet indexes) NSArray

Available on NSArray, provided by the NSExtendedArray extension

objectsAtIndexes:
performSelector(Pointer<ObjCSelector> aSelector) ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

performSelector:
performSelector(Pointer<ObjCSelector> aSelector) ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

performSelector:
performSelector$1(Pointer<ObjCSelector> aSelector, {required ObjCObject withObject}) ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

performSelector:withObject:
performSelector$1(Pointer<ObjCSelector> aSelector, {required ObjCObject withObject}) ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

performSelector:withObject:
performSelector$2(Pointer<ObjCSelector> aSelector, {required ObjCObject withObject, required ObjCObject withObject$1}) ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

performSelector:withObject:withObject:
performSelector$2(Pointer<ObjCSelector> aSelector, {required ObjCObject withObject, required ObjCObject withObject$1}) ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

performSelector:withObject:withObject:
release() → void

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

release
removeAllObjects() → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

removeAllObjects
removeLastObject() → void

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

removeLastObject
removeObject(ObjCObject anObject) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

removeObject:
removeObject$1(ObjCObject anObject, {required NSRange inRange}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

removeObject:inRange:
removeObjectAtIndex(int index) → void

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

removeObjectAtIndex:
removeObjectIdenticalTo(ObjCObject anObject) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

removeObjectIdenticalTo:
removeObjectIdenticalTo$1(ObjCObject anObject, {required NSRange inRange}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

removeObjectIdenticalTo:inRange:
removeObjectsAtIndexes(NSIndexSet indexes) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

removeObjectsAtIndexes:
removeObjectsInArray(NSArray otherArray) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

removeObjectsInArray:
removeObjectsInRange(NSRange range) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

removeObjectsInRange:
replaceObjectAtIndex(int index, {required ObjCObject withObject}) → void

Available on NSMutableArray, provided by the NSMutableArray$Methods extension

replaceObjectAtIndex:withObject:
replaceObjectsAtIndexes(NSIndexSet indexes, {required NSArray withObjects}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

replaceObjectsAtIndexes:withObjects:
replaceObjectsInRange(NSRange range, {required NSArray withObjectsFromArray}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

replaceObjectsInRange:withObjectsFromArray:
replaceObjectsInRange$1(NSRange range, {required NSArray withObjectsFromArray, required NSRange range$1}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

replaceObjectsInRange:withObjectsFromArray:range:
respondsToSelector(Pointer<ObjCSelector> sel) bool

Available on ObjCObject, provided by the RespondsToSelector extension

respondsToSelector(Pointer<ObjCSelector> aSelector) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

respondsToSelector:
retain() NSObjectProtocol

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

retain
retainCount() int

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

retainCount
reverseObjectEnumerator() NSEnumerator

Available on NSArray, provided by the NSExtendedArray extension

reverseObjectEnumerator
self() NSObjectProtocol

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

self
setArray(NSArray otherArray) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

setArray:
setObject(ObjCObject obj, {required int atIndexedSubscript}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

setObject:atIndexedSubscript:
sortedArrayUsingComparator(ObjCBlock<Long Function(Pointer<ObjCObjectImpl>, Pointer<ObjCObjectImpl>)> cmptr) NSArray

Available on NSArray, provided by the NSExtendedArray extension

sortedArrayUsingComparator:
sortedArrayUsingFunction(Pointer<NativeFunction<Long Function(Pointer<ObjCObjectImpl>, Pointer<ObjCObjectImpl>, Pointer<Void>)>> comparator, {required Pointer<Void> context}) NSArray

Available on NSArray, provided by the NSExtendedArray extension

sortedArrayUsingFunction:context:
sortedArrayUsingFunction$1(Pointer<NativeFunction<Long Function(Pointer<ObjCObjectImpl>, Pointer<ObjCObjectImpl>, Pointer<Void>)>> comparator, {required Pointer<Void> context, NSData? hint}) NSArray

Available on NSArray, provided by the NSExtendedArray extension

sortedArrayUsingFunction:context:hint:
sortedArrayUsingSelector(Pointer<ObjCSelector> comparator) NSArray

Available on NSArray, provided by the NSExtendedArray extension

sortedArrayUsingSelector:
sortedArrayWithOptions(int opts, {required ObjCBlock<Long Function(Pointer<ObjCObjectImpl>, Pointer<ObjCObjectImpl>)> usingComparator}) NSArray

Available on NSArray, provided by the NSExtendedArray extension

sortedArrayWithOptions:usingComparator:
sortUsingComparator(ObjCBlock<Long Function(Pointer<ObjCObjectImpl>, Pointer<ObjCObjectImpl>)> cmptr) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

sortUsingComparator:
sortUsingFunction(Pointer<NativeFunction<Long Function(Pointer<ObjCObjectImpl>, Pointer<ObjCObjectImpl>, Pointer<Void>)>> compare, {required Pointer<Void> context}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

sortUsingFunction:context:
sortUsingSelector(Pointer<ObjCSelector> comparator) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

sortUsingSelector:
sortWithOptions(int opts, {required ObjCBlock<Long Function(Pointer<ObjCObjectImpl>, Pointer<ObjCObjectImpl>)> usingComparator}) → void

Available on NSMutableArray, provided by the NSExtendedMutableArray extension

sortWithOptions:usingComparator:
subarrayWithRange(NSRange range) NSArray

Available on NSArray, provided by the NSExtendedArray extension

subarrayWithRange:
toDartList({Object convertOther(ObjCObject) = _defaultDartConverter}) List<Object>

Available on NSArray, provided by the NSArrayToDartList extension

Deep converts this NSArray to a Dart List.
toString() String
A string representation of this object.
inherited
writeToURL(NSURL url) bool

Available on NSArray, provided by the NSExtendedArray extension

writeToURL:error:
zone() Pointer<NSZone>

Available on NSObject, provided by the NSObject$Methods extension

zone
zone() Pointer<NSZone>

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

zone

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

alloc() NSMutableArray
alloc
override
allocWithZone(Pointer<NSZone> zone) NSMutableArray
allocWithZone:
override
array() NSMutableArray
array
override
arrayWithArray(NSArray array) NSMutableArray
arrayWithArray:
override
arrayWithCapacity(int numItems) NSMutableArray
arrayWithCapacity:
arrayWithObject(ObjCObject anObject) NSMutableArray
arrayWithObject:
override
arrayWithObjects(ObjCObject firstObj) NSMutableArray
arrayWithObjects:
override
arrayWithObjects$1(Pointer<Pointer<ObjCObjectImpl>> objects, {required int count}) NSMutableArray
arrayWithObjects:count:
override
filled(int length, ObjCObject fill) NSMutableArray
Creates a NSMutableArray of the given length with fill at each position.
override
getSupportsSecureCoding() bool
supportsSecureCoding
override
isA(ObjCObject obj) bool
Returns whether obj is an instance of NSMutableArray.
override
new$() NSMutableArray
new
override
of(Iterable<ObjCObject> elements) NSMutableArray
Creates a NSMutableArray from elements.
override