Declared in NSArray+TKCategory.h

Overview

Additional functionality for NSArray.

Tasks

Instance Methods

firstObject

Returns the object in the array with the lowest index value.

- (id)firstObject

Return Value

The object in the array with the lowest index value. If the array is empty, returns nil.

Discussion

Returns the object in the array with the lowest index value.

Declared In

NSArray+TKCategory.h

randomObject

Returns a random object in the array.

- (id)randomObject

Return Value

The object in the array with the lowest index value. If the array is empty, returns nil.

Discussion

Returns a random object in the array.

Declared In

NSArray+TKCategory.h