SFormDateFieldConverter Class Reference

Inherits from NSObject
Conforms to SFormFieldModelViewConverter
Declared in SFormDateFieldConverter.h
Availability
Related samples

Overview

A converter that converts values between SFormDateFieldView view object and an SFormDateField model object.

Behavior:

Converts the field model value to an NSString representation so that a field view can display it in its input element.

Converts the field view value to an NSDate representation so that it can be set on an SFormDateField instance.

Tasks

Properties

locale

The locale that the converter will use when converting the date to a string. Defaults to [NSLocale currentLocale], which is the current device’s locale.

@property (nonatomic, strong) NSLocale *locale

Declared In

SFormDateFieldConverter.h