MessageTimePicker
public struct MessageTimePicker : Equatable, Sendable
A time slot picker displays a list of options, and information about the time slot.
A model representing a time picker message, including the text shown in the conversation, the sheet title, and the available time slots. Used to configure UI that presents time slot selection to the user.
-
Text displayed in the conversation cell.
Declaration
Swift
public let title: String -
Title shown at the top of the time picker sheet.
Declaration
Swift
public let sheetTitle: String -
List of available time slot options.
Declaration
Swift
public let timeSlots: [MessageTimePickerTimeSlot]
-
Creates a
MessageTimePicker.Declaration
Swift
public init(title: String, sheetTitle: String, timeSlots: [MessageTimePickerTimeSlot])Parameters
titleText displayed in the conversation cell.
sheetTitleTitle shown at the top of the picker sheet when the user opens it.
timeSlotsThe selectable time slots offered to the user.
View on GitHub