FUIPrivacyNoticeSettingsTableViewCell

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: A String value that is used to display ‘Title’
  • status.text: A String value that is used to display ‘Status’
  • detailImageView: A UIImageView value that is used to display the image on the left.
  • isHideStatusImageView: A Boolean value that determines whether the statusImageView is 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

    public override var reuseIdentifier: String? { get }
  • ImageView of the cell.

    Declaration

    Swift

    public var detailImageView: FUIImageView { get set }
  • A Boolean value that determines whether the statusImageView is hidden.

    Declaration

    Swift

    public var isHideStatusImageView: Bool { get set }