Declared in CYYSubsectionTableViewDataSource.h
CYYSubsectionTableViewDataSource.m

Overview

Category on NSIndexPath to provide convenient methods to create three-component (Group/Subgroup/Row) and two-component (Group/Subgroup) index paths, as well as convenient methods to access the individual compnents of the index path.

Tasks

Properties

group

Return the index of the group of the receiver

@property (nonatomic, readonly) NSUInteger group

Declared In

CYYSubsectionTableViewDataSource.h

subgroup

Return the index of the subgroup of the receiver

@property (nonatomic, readonly) NSUInteger subgroup

Declared In

CYYSubsectionTableViewDataSource.h

subgroupRow

Rerurn the row within the subgroup and group of the receiver

@property (nonatomic, readonly) NSUInteger subgroupRow

Declared In

CYYSubsectionTableViewDataSource.h

Class Methods

indexPathForRow:inSubgroup:inGroup:

Return an index path with indexes for row, subgroup and group

+ (NSIndexPath *)indexPathForRow:(NSUInteger)row inSubgroup:(NSUInteger)subgroup inGroup:(NSUInteger)group

Declared In

CYYSubsectionTableViewDataSource.h

indexPathForSubgroup:inGroup:

Return an index path with indexes for subgroup and group

+ (NSIndexPath *)indexPathForSubgroup:(NSUInteger)subgroup inGroup:(NSUInteger)group

Declared In

CYYSubsectionTableViewDataSource.h