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) -> IntParameters
- 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.