One Logo Pool Ball
UIKit · IOS API REFERENCE

UICalendarSelectionSingleDate

class · iOS 16.0+ · SDK 27.1

@MainActor class UICalendarSelectionSingleDate

Members (5)

init · iOS 16.0+

init

TypeScript
static init(delegate?: (Implements<UICalendarSelectionSingleDateDelegate> | SDKHandle) | null): Promise<UICalendarSelectionSingleDate>
Swift declaration
init(delegate: (any UICalendarSelectionSingleDateDelegate)?)
method · iOS 16.0+

setSelected

TypeScript
setSelected(selectedDate: (_Foundation_DateComponents) | null, animated: boolean): Promise<void>
Swift declaration
func setSelected(_ selectedDate: DateComponents?, animated: Bool)
get · iOS 16.0+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
weak var delegate: (any UICalendarSelectionSingleDateDelegate)? { get }
get · iOS 16.0+

selectedDate

TypeScript
get selectedDate(): Promise<(_Foundation_DateComponents) | null>
Swift declaration
var selectedDate: DateComponents? { get set }
set · iOS 16.0+

selectedDate

TypeScript
setSelectedDate(value?: (_Foundation_DateComponents) | null): Promise<void>
Swift declaration
var selectedDate: DateComponents? { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UICalendarSelectionSingleDate.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All UIKit types →