Contents

presentationSectionIndex(forDataSourceSectionIndex:)

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

Declaration

func presentationSectionIndex(forDataSourceSectionIndex dataSourceSectionIndex: Int) -> Int

Parameters

  • dataSourceSectionIndex:

    The index path of a section in the data source object.

Return Value

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

See Also

Managing section positions