Skip to content

1. Root Dictionary

i_82 edited this page Mar 26, 2018 · 2 revisions

The top level of XUI json is a dictionary.

Key Type Description Flags Default
title String self.title Optional, Localizable ""
header String headerView.headerText Optional, Localizable nil
subheader String headerView.subheaderText Optional, Localizable nil
items Array <Dictionary> cell dictionary list Required -
theme Dictionary theme dictionary Optional -
stringsTable String localization strings table name Optional Localizable

cell dictionary is a specific dictionary which contains Base Cell Properties and their own properties.

Example

{
    "subheader": "Elegant App UI provided by XXTouchApp.",
    "header": "Example",
    "title": "Demo",
    "theme": {
        "tintColor": "#FFFFFF"
    },
    "items": {}
}