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はLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

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

Tel: +1 (650) 572-1400