Skip to content

6h. Cell: TitleValue

i_82 edited this page Mar 26, 2018 · 1 revision

TitleValue cell displays a pair of key/value.

Key Type Description Flags Default
value Any? the description of value will be displayed in detailTextLabel Optional ""

If defaults and key are both filled, TitleValue cell will try to fetch stored value and display it.

Example

{
    "default": true,
    "cell": "Switch",
    "key": "switch1",
    "defaults": "com.yourcompany.yourscript",
    "label": "Sosh!"
}
{
    "cell": "TitleValue",
    "label": "Version",
    "value": "1.1.3"
}
{
    "cell": "TitleValue",
    "label": "Dynamic",
    "key": "switch1",
    "defaults": "com.yourcompany.yourscript",
}