-
Notifications
You must be signed in to change notification settings - Fork 19
3. Base Cell Properties
i_82 edited this page Mar 26, 2018
·
3 revisions
Base Cell is a plain cell with 3 universal components: textLabel, detailTextLabel and imageView, and not all of them will be used. Other XUI cells are inherit from Base Cell.
| Key | Type | Description | Flags | Default |
|---|---|---|---|---|
| cell | String | cell type | Required | - |
| label | String | textLabel.text |
Optional, Localizable | "" |
| defaults | String | configuration identifier | Optional | null |
| key | String | configuration key | Required | - |
| value | Any? | configuration value | Optional | null |
| default | String | configuration default value | Optional | null |
| icon | String | imageView.image = UIImage(named: icon) |
Optional | null |
| readonly | Boolean | readonly state | Optional | false |
| height | Number | custom height of cell | Optional | 44.0 |
If value == nil, then value = default.