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 themonthMode
ofexpandable
style. In the case ofweek
,rangeSelection
,weekMode
ofexpandable
, anddatesSelection
styles, 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 themonthMode
of theexpandable
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. InrangeSelection
anddatesSelection
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 themonth
style and themonthMode
ofexpandable
style. In the case ofweek
,rangeSelection
, andweekMode
ofexpandable
style, the value is empty, since these dates are not shown.Declaration
Swift
public let next: [Date]