iOSKit 1.0
iOS Developer Convenience Toolkit
Public Member Functions
NSArray(NestedArray) Category Reference

#import </Users/Matthew/iOSDev/iOSKit/Framework/trunk/iOSKit/NestedArray/NSArray+NestedArray.h>

List of all members.

Public Member Functions

(id) - objectAtIndexPath:
(NSUInteger) - countOfSection:

Detailed Description

Methods for easily accessing data in nested array methods. Ideal for use with UITableView


Member Function Documentation

- (NSUInteger) countOfSection: (NSUInteger)  section

Gets a count of a nested array.

Parameters:
sectionThe index of the section (array) to be counted
Returns:
The count of the nested array or section
- (id) objectAtIndexPath: (NSIndexPath *)  indexPath

Gets an object from an array nested within the array this is called on. Index path is used to get the correct index.

Parameters:
indexPathThe location of the file required
Returns:
The object found at the indexPath