SMIFormDatePickerInput
Objective-C
@protocol SMIFormDatePickerInput <SMIFormInput>
Swift
protocol FormDatePickerInput : FormInput
Represents a date input on a form.
-
Required. The string format of the date.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSString *dateFormat;
Swift
var dateFormat: String? { get }
-
The latest allowable date this input accepts.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSDate *maximumDate;
Swift
var maximumDate: Date? { get }
-
The earliest allowable date this input accepts.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSDate *minimumDate;
Swift
var minimumDate: Date? { get }
-
The initial default value for the date assigned to this input.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSDate *startDate;
Swift
var startDate: Date? { get }
-
A flag that indicates whether the
FormDatePickerInput
is a date or a date and time picker.Declaration
Objective-C
@property (nonatomic, readonly) BOOL isDateAndTime;
Swift
var isDateAndTime: Bool { get }
-
The current value of the date for this input.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *value;
Swift
var value: Date? { get set }