Declared in NSArray+TKCategory.h
NSArray+TKCategory.m

Overview

Additional functionality for NSArray.

Tasks

Properties

firstObject

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

@property (nonatomic, readonly, strong) id firstObject

Return Value

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

Declared In

NSArray+TKCategory.h

randomObject

Returns a random object in the array.

@property (nonatomic, readonly, strong) id randomObject

Return Value

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

Declared In

NSArray+TKCategory.h