index path property

index path is a secondary TA property that uses one or two index values to specify the position of a cell in either a table view or collection view structure in iOS.

TA classes employing the property

TA classApplicable platform(s)
table view celliOS
collection view celliOS

Values

Description

If the control is a header cell of a table view or collection view, index path consists of a single positive integer value representing the position of the header cell in the parent structure. Index values begin at 1.

If the control is subordinate to a header cell, its index path value has two parts: the index path value of its parent header, followed by its index (starting at 1) with respect to other children of the parent header. The two values are separated by a dot.

Example

Figure: index path values in a table view


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400