Instance Method

dataSourceSectionIndexForPresentationSectionIndex:

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

Required.

Declaration

- (NSInteger)dataSourceSectionIndexForPresentationSectionIndex:(NSInteger)presentationSectionIndex;

Parameters

presentationSectionIndex

The index path of a section in your presentation layer.

Return Value

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

See Also

Section Positions

- presentationSectionIndexForDataSourceSectionIndex:

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

Required.