FUIVisibleDates

public struct FUIVisibleDates

The FUIVisibleDates structure denotes the visible dates on the screen.

  • The visible dates on the screen that belong to the previous month.

    These are the grayed-out dates that appear in the first row in the month style, if the month doesn’t start on the first day of the week label denoting the days of the week. This pertains only to the month style and the monthMode of expandable style. In the case of week, rangeSelection, weekMode of expandable, and datesSelectionstyles, the value is empty, since these dates are not shown.

    Declaration

    Swift

    public let previous: [Date]
  • The visible dates on the screen. For both month style and the monthMode of the expandable style, this denotes the dates of the current month being displayed.

    In the case of week style, this is the set of 7 dates that are currently visible on the screen. In rangeSelection and datesSelection this is the entire set of dates currently visible on the screen (and could span multiple months, based on the current scroll position, and the corresponding content being displayed).

    Declaration

    Swift

    public let current: [Date]
  • The visible dates on the screen that belong to the next month.

    These are the grayed-out dates that appear in the last row in month style, if the month doesn’t end on the last day of the week label denoting the days of the week. This pertains only to the month style and the monthMode of expandable style. In the case of week, rangeSelection, and weekMode of expandable style, the value is empty, since these dates are not shown.

    Declaration

    Swift

    public let next: [Date]