CalendarDayState

public enum CalendarDayState

The state of the calendar day item.

  • The day item’s default state.

    Declaration

    Swift

    case normal
  • The day item in .today state will have different appearance.

    Declaration

    Swift

    case today
  • The day item is not belong to this month. Like the dates before the first day of this month, or after the last day of this month.

    Declaration

    Swift

    case outOfMonth
  • The day item is single selected.

    Declaration

    Swift

    case singleSelected
  • The day item is single selected and today.

    Declaration

    Swift

    case singleSelectedAndToday
  • The day item is selected, as the first day of the date range.

    Declaration

    Swift

    case multiSelectedStart
  • The day item is selected, in the middle of the date range.

    Declaration

    Swift

    case multiSelectedMiddle
  • The day item is selected, as the last day of the date range.

    Declaration

    Swift

    case multiSelectedEnd
  • The day item is disabled.

    Declaration

    Swift

    case disabled
  • The day item is disabled and today.

    Declaration

    Swift

    case disabledAndToday
  • A disabled date can only appear in the middle of the selection

    Declaration

    Swift

    case disabledInMultiSelection
  • A disabled date can only appear in the middle of the selection

    Declaration

    Swift

    case disabledAndTodayInMultiSelection