Instance Method

presentationIndexPathForDataSourceIndexPath:

Translate an index in your data source object to the equivalent index in your presented layout.

Required.

Declaration

- (NSIndexPath *)presentationIndexPathForDataSourceIndexPath:(NSIndexPath *)dataSourceIndexPath;

Parameters

dataSourceIndexPath

The index path of an item in the data source object.

Return Value

The index path of the same item in the presentation layer of your object, or nil if the item is not in the presentation layer.

See Also

Item Positions

- dataSourceIndexPathForPresentationIndexPath:

Translate an index in your your presented layout to the equivalent index in your data source object.

Required.