Instance Method

removeRowsAtIndexes:includeSubrows:

Removes the rows at given indexes.

Declaration

- (void)removeRowsAtIndexes:(NSIndexSet *)rowIndexes includeSubrows:(BOOL)includeSubrows;

Parameters

rowIndexes

Indexes of one or more rows in the receiver.

includeSubrows

If YES, then sub-rows of deleted rows are also deleted; if NO, then each sub-row is adopted by its first non-deleted ancestor, or becomes a root row.

See Also

Manipulating Rows

- addRow:

Adds a row to the receiver.

- insertRowAtIndex:withType:asSubrowOfRow:animate:

Adds a new row of a given type at a given location.

- removeRowAtIndex:

Removes the row at a given index.