Removes from the array each of the objects within a given range.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
- (void)removeObjectsInRange:(NSRange)range;
Parameters
aRange
The range of the objects to be removed from the array.
Discussion
The objects are removed using remove
.