RBDateTimeField Class Reference

Inherits from RBTextField : UITextField
Conforms to RBInputViewDelegate
Declared in RBDateTimeField.h

Overview

A date and time form field.

  mode

The date and time selection mode.

@property (nonatomic) RBDateTimeFieldMode mode

Declared In

RBDateTimeField.h

  locale

The locale. Default = [NSLocale currentLocale]. Setting nil returns to default.

@property (null_resettable, nonatomic, strong) NSLocale *locale

Declared In

RBDateTimeField.h

  calendar

The calendar. Default = [NSLocale currentLocale]. Setting nil returns to default.

@property (null_resettable, nonatomic, copy) NSCalendar *calendar

Declared In

RBDateTimeField.h

  timeZone

The timeZone. Default = nil. Use current time zone or time zone from calendar

@property (nullable, nonatomic, strong) NSTimeZone *timeZone

Declared In

RBDateTimeField.h

  date

The date. Default = current date when input view created.

@property (nonatomic, strong, nonnull) NSDate *date

Declared In

RBDateTimeField.h

  minimumDate

The minimum date range . Default = nil. When min > max, the values are ignored.

@property (nullable, nonatomic, strong) NSDate *minimumDate

Declared In

RBDateTimeField.h

  maximumDate

The maximum date range . Default = nil. When min > max, the values are ignored.

@property (nullable, nonatomic, strong) NSDate *maximumDate

Declared In

RBDateTimeField.h

– setDate:animated:

Set the current date.

- (void)setDate:(nonnull NSDate *)date animated:(BOOL)animated

Parameters

date

The date.

animated

Animate the change.

Declared In

RBDateTimeField.h