Contents

element(at:)

Returns the element at the given index path in the sectioned results.

Declaration

final func element(at indexPath: IndexPath) -> Element?

Parameters

  • indexPath:

    An index path where indexPath[0] is the section index and indexPath[1] is the item index within that section.

Return Value

The element at the given index path, or nil if sections is nil or the index path is out of bounds.

See Also

Accessing observer results