DetailText

public enum DetailText : Equatable

An enum that represents a detail text with UITableViewCell.CellStyle.

  • Does not show a detail text in UITableViewCell.CellStyle.default.

    Declaration

    Swift

    case none
  • Shows the detail text in UITableViewCell.CellStyle.subtitle.

    Declaration

    Swift

    case subtitle(String)
  • Shows the detail text in UITableViewCell.CellStyle.value1.

    Declaration

    Swift

    case value1(String)
  • Shows the detail text in UITableViewCell.CellStyle.value2.

    Declaration

    Swift

    case value2(String)
  • Returns the corresponding table view cell style.

    Declaration

    Swift

    public var style: UITableViewCell.CellStyle { get }
  • Returns the associated text of the case.

    Declaration

    Swift

    public var text: String? { get }