Contents

dataSourceSectionIndex(forPresentationSectionIndex:)

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

Declaration

func dataSourceSectionIndex(forPresentationSectionIndex presentationSectionIndex: Int) -> Int

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

Managing section positions