Contents

init(forItem:inSection:)

Initializes an index path with the indexes of a specific item and section in a collection view.

Declaration

convenience init(forItem item: Int, inSection section: Int)
convenience init(item: Int, section: Int)
init(forItem item: Int, inSection section: Int)

Parameters

  • item:

    An index number identifying an item in a Uicollectionview object in a section identified by the section parameter.

  • section:

    An index number identifying a section in a Uicollectionview object.

Return Value

An NSIndexPath object.

See Also

Using Special Node Names