DataItemType

public enum DataItemType : Int, CaseIterable

An enum representing the different item styles that a DataTable can have.

  • Indicating this row item represents a text.

    Declaration

    Swift

    case text
  • Indicating this row item represents a image.

    Declaration

    Swift

    case image
  • date, the data type is a Date and displayed as a String with a DateFormatter

    Declaration

    Swift

    case date
  • time, the data type is a Date and displayed as a String with a DateFormatter

    Declaration

    Swift

    case time
  • duration, the data type is a TimeInterval and displayed as a String with a formatter

    Declaration

    Swift

    case duration
  • a String type and the value is one of a set of predefined String

    Declaration

    Swift

    case listitem