DateField

struct DateField

To hold each date pattern type for DateFieldTypeView

  • Title/type of the pattern (e.g. Year / Second)

    Declaration

    Swift

    var type: String
  • Patterns of that falls under said type (e.g YYYY / ss)

    Declaration

    Swift

    var patterns: [String]
  • To facilitate explanation of said pattern, that falls under same type, if needed.

    Key of subtitle should be accessible in patterns

    Declaration

    Swift

    var subtitles: [String : String]?