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
monthstyle and themonthModeofexpandablestyle. In the case ofweek,rangeSelection,weekModeofexpandable, anddatesSelectionstyles, the value is empty, since these dates are not shown.Declaration
Swift
public let previous: [Date] -
The visible dates on the screen. For both
monthstyle and themonthModeof theexpandablestyle, this denotes the dates of the current month being displayed.In the case of
weekstyle, this is the set of 7 dates that are currently visible on the screen. InrangeSelectionanddatesSelectionthis 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
monthstyle, if the month doesn’t end on the last day of the week label denoting the days of the week. This pertains only to themonthstyle and themonthModeofexpandablestyle. In the case ofweek,rangeSelection, andweekModeofexpandablestyle, the value is empty, since these dates are not shown.Declaration
Swift
public let next: [Date]