FUIPrivacyNoticeSettingsTableViewCell
@MainActor
open class FUIPrivacyNoticeSettingsTableViewCell : FUIBaseDrawingTableViewCell<FUISettingsContentView>
The reusable UI component implemented as a UITableViewCell to display as a SettingsCell.
When implementing the UITableViewDataSource cellForRow(at:) function, set the following properties on the cell:
title.text: AStringvalue that is used to display ‘Title’status.text: AStringvalue that is used to display ‘Status’detailImageView: AUIImageViewvalue that is used to display the image on the left.isHideStatusImageView: ABooleanvalue that determines whether thestatusImageViewis hidden.
Usage:
tableView.register(FUIPrivacyNoticeSettingsCell.self, forCellReuseIdentifier: FUIPrivacyNoticeSettingsCell.reuseIdentifier)
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: FUIPrivacyNoticeSettingsCell.reuseIdentifier, for: indexPath) as! FUIPrivacyNoticeSettingsCell
cell.title.text = "Title"
cell.status.text = "Authorization Status"
cell.detailImageView.image = UIImage(systemName: "figure.roll")
return cell
}
Theming: Supported style classes:
fdlFUIPrivacyNoticeSettingsCell {}
fdlFUIPrivacyNoticeSettingsCell_detailImageView {}
fdlFUIPrivacyNoticeSettingsCell_title {}
fdlFUIPrivacyNoticeSettingsCell_status {}
fdlFUIPrivacyNoticeSettingsCell_statusImageView {}
-
The default cell reuse identifier.
Declaration
Swift
@MainActor public override var reuseIdentifier: String? { get } -
ImageViewof the cell.Declaration
Swift
@MainActor public var detailImageView: FUIImageView { get set } -
A
Booleanvalue that determines whether thestatusImageViewis hidden.Declaration
Swift
@MainActor public var isHideStatusImageView: Bool { get set }