Instance Method

cellForRowAtIndexPath:

Returns the table cell at the specified index path.

Declaration

- (__kindof UITableViewCell *)cellForRowAtIndexPath:(NSIndexPath *)indexPath;

Parameters

indexPath

The index path locating the row in the table view.

Return Value

An object representing a cell of the table, or nil if the cell is not visible or indexPath is out of range.

See Also

Getting Cells and Section-Based Views

- headerViewForSection:

Returns the header view associated with the specified section.

- footerViewForSection:

Returns the footer view associated with the specified section.

- indexPathForCell:

Returns an index path representing the row and section of a given table-view cell.

- indexPathForRowAtPoint:

Returns an index path identifying the row and section at the given point.

- indexPathsForRowsInRect:

An array of index paths, each representing a row enclosed by a given rectangle.

visibleCells

The table cells that are visible in the table view.

indexPathsForVisibleRows

An array of index paths, each identifying a visible row in the table view.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software