ComBelkadanUtils_PantherIndexSetSupport

Dockyard > Objective-C Protocols > ComBelkadanUtils_PantherIndexSetSupport

ComBelkadanUtils_PantherIndexSetSupport

Protocol Description

Provides basic support for Tiger-only NSArray methods dealing with NSIndexSet. If you are developing a 10.3 application, call one of these methods instead of the standard ones. On a 10.4 system, these methods will simply forward the message. On a 10.3 system, they will do the work themselves. (NSIndexSet does not exist on pre-10.3 systems).

Methods

Retrieving objects

- pantherObjectsAtIndexes:

Method Detail

pantherObjectsAtIndexes:

- (NSArray *)pantherObjectsAtIndexes:(NSIndexSet *)indexSet

Returns an array containing the objects in the receiver at the specified indexes. It is a programming error if any location in indexes exceeds the bounds of the receiver (docs taken from ADC). This method will call `objectsAtIndexes:` on 10.4 or later systems, and use `objectAtIndex:` multiple times on 10.3.

See also: objectsAtIndexes: (NSArray)

This page was generated with DocYouMeant, a program created by Belkadan Software