NSIndexPath(TableViewWithSubSections) Category Reference
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
-
+ indexPathForRow:inSubgroup:inGroup:
Return an index path with indexes for row, subgroup and group
-
+ indexPathForSubgroup:inGroup:
-
group
Return the index of the group of the receiver
property -
subgroup
Return the index of the subgroup of the receiver
property -
subgroupRow
Rerurn the row within the subgroup and group of the receiver
property
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