FUIKeyValueTableViewCell
@MainActor
open class FUIKeyValueTableViewCell : FUIInlineValidationDrawingTableViewCell<FUIKeyValueContentView>
A UITableViewCell
subclass for showing key-value text in a vertical stack.
Usage
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
guard let cell = tableView.dequeueReusableCell(withIdentifier: FUIKeyValueTableViewCell.reuseIdentifier, for: indexPath) as? FUIKeyValueTableViewCell else {
return UITableViewCell()
}
cell.title.text = "Short title text"
cell.value = "Short value text"
cell.accessoryType = .detailButton
return cell
}
Theming
Supported TEXT
class paths:
fdlFUIKeyValueTableViewCell_title {}
fdlFUIKeyValueTableViewCell_valueText {}
Supported TEXT
properties:
font-color (Color)
font-name (FontName)
font-style (UIFontTextStyle)
font-size (Number)
text-align (TextAlign)
text-line-clamp (Integer)
-
The text view for showing the value text.
Declaration
Swift
@MainActor public var valueTextView: UITextView { get }