Inherits from NSObject
Declared in SDataGridRow.h
Availability
Related samples

Overview

Represents a row within a ShinobiDataGrid.

Tasks

Properties

rowIndex

The index of the represented row within section at sectionIndex.

@property (nonatomic, assign, readonly) NSInteger rowIndex

Declared In

SDataGridRow.h

sectionIndex

The section that the represented row belongs to.

@property (nonatomic, assign, readonly) NSInteger sectionIndex

Declared In

SDataGridRow.h

Class Methods

rowWithRowIndex:sectionIndex:

Returns an autoreleased SDataGridRow object as per initWithRowIndex:withSectionIndex:.

+ (id)rowWithRowIndex:(NSInteger)rowIndex sectionIndex:(NSInteger)sectionIndex

Declared In

SDataGridRow.h

zeroRow

Convenience method that returns an SDataGridRow object with rowIndex == 0 and sectionIndex == 0.

+ (id)zeroRow

Return Value

SDataGridRow object representing row at {0, 0}.

Declared In

SDataGridRow.h

Instance Methods

initWithRowIndex:withSectionindex:

Returns an SDataGridRow object that represents a row at {rowIndex, sectionIndex}.

- (id)initWithRowIndex:(NSInteger)rowIndex withSectionindex:(NSInteger)sectionIndex

Parameters

rowIndex

The index of the row within the section that it belongs to.

sectionIndex

The index of the section that the row belongs to.

Declared In

SDataGridRow.h

isEqual:

Checks that the object passed is of type SDataGridRow and that its rowIndex and sectionIndex match that of this object.

- (BOOL)isEqual:(id)object

Declared In

SDataGridRow.h