Skip to content

iOSTable

iOS Table.

Extends iOSObject

Behavior Pattern: iOSObjectTableSelectableBehavior

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount
ItemIndexByName Returns item index by its name. GetItemIndexByName
ItemTextAt Text of the item at the specified index GetItemTextAt

Action Summary

Action Description
DoSelectItem Selects an item with the specified index.

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

value = SeS('SomeiOSTable').GetItemCount()

ItemIndexByName

Returns item index by its name. 'false' if name is not found.

Getter Parameters:

Name Type Description
name string

Type: number|boolean

Accessors: GetItemIndexByName

value = SeS('SomeiOSTable').GetItemIndexByName(name)

ItemTextAt

Text of the item at the specified index

Type: string

Accessors: GetItemTextAt

value = SeS('SomeiOSTable').GetItemTextAt(index)

Action Detail

DoSelectItem

Selects an item with the specified index.

SeS('SomeiOSTable').DoSelectItem(index)

Parameters:

Name Type Description
index number Item index.

Returns:

boolean: 'true' if success, 'false' otherwise.