EnterpriseDS Documentation

Structure DSUIDate​Picker

@available(iOS 13.0, tvOS 13.0, *)
public struct DSUIDatePicker: View  

An Enterprise-styled date & time picker. This should be used when a user needs to select a date, time, or both a date and time.

Initialize and set parameters as needed.

DSUIDatePicker(title: "Appointment Time",
               date: $appointmentDate,
               dateType: .date)
DSUIDatePicker DSUIDatePicker View View DSUIDatePicker->View

Conforms To

View

Initializers

init(title:​date:​date​Type:​)

public init(title: String, date: Binding<Date>, dateType: DSDatePickerDateType)  

Properties

body

public var body: some View