init(delegate:)

Creates an object that tracks a week a person selects from a calendar view, with an optional delegate to manage selectable weeks and selection changes.

Declaration

init(delegate: (any UICalendarSelectionWeekOfYearDelegate)?)