Instance Method

dataSourceIndexPathForPresentationIndexPath:

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

Required.

Declaration

- (NSIndexPath *)dataSourceIndexPathForPresentationIndexPath:(NSIndexPath *)presentationIndexPath;

Parameters

presentationIndexPath

The index path of an item in your presentation layer.

Return Value

The index path of the same item in the data source object, or nil if the item is no longer in the data source.

See Also

Item Positions

- presentationIndexPathForDataSourceIndexPath:

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

Required.