SFormDateFieldView Class Reference

Inherits from SFormTextPresenterFieldView : SFormFieldView : UIView
Declared in SFormDateFieldView.h
Availability
Related samples

Overview

A view that allows the user to input dates via a date picker.

This view uses a UITextField as the inputElement to display the underlying model. It also uses a UIDatePicker as the inputElement’s inputView to allow the user to input dates.

Tasks

Properties

datePicker

A UIDatePicker instance presented as the inputView for the field’s inputElement.

@property (nonatomic, strong, readonly) UIDatePicker *datePicker

Discussion

Presentation of this date picker occurs when this field view becomes first responder (i.e. a user taps in the inputElement).

Declared In

SFormDateFieldView.h

model

The date field model being presented.

@property (nonatomic, strong) SFormDateField *model

Declared In

SFormDateFieldView.h