Skip to content

6a. Cell: Group

i_82 edited this page Mar 26, 2018 · 4 revisions

Group cells are separators of different sections in XUI TableView. For example, cells between the first Group cell and the next Group cell will be displayed in the first section.

Key Type Description Flags Default
footerText String tableView:titleForFooterInSection: Optional, Localizable ""

label/icon/height are not supported.

Example

{
    "items": [
        {
            "cell": "Group",
            "label": "Switch"
        },
        {
            "default": true,
            "label": "Enabled",
            "cell": "Switch",
            "key": "switch1",
            "icon": "res/16.png"
        },
        {
            "cell": "Group",
            "label": "Button"
        },
        {
            "url": "https://www.xxtouch.com",
            "cell": "Link",
            "label": "Open XXTouch.com"
        },
        {
            "cell": "Button",
            "action": "OpenURL:",
            "label": "Contact i.82@me.com",
            "args": {
                "url": "mailto://i.82@me.com"
            }
        }
    ]
}

Clone this wiki locally