Preface
Before reading this guide, you should be familiar with Lua syntax and understand the basic data types: number/boolean/string/table.
- XUI does not conflict with the existing dialog module or WebView UI.
- XUI provides UI extensions for the XPP script bundle.
XUI provides a configuration interface in XXTouch using native iOS components. This handbook specifies how to build XUI layouts. We provide a comprehensive demo script bundle to help you understand each chapter.
XUI is part of the XPP script bundle. It is used to build configuration UIs for a bundle and cannot be used standalone. To use XUI, you must create a .xui
script (a Lua file that returns a table) inside the bundle, and set the MainInterfaceFile
field in Info.lua
. See XPP for details.
Configuration items can be read/written/updated via the XUI script configuration interface module.