Enumeration

NSDatePickerElementFlags

Constants that specify the date and time elements displayed by the picker.

Declaration

typedef enum NSDatePickerElementFlags : NSUInteger {
    ...
} NSDatePickerElementFlags;

Overview

You can combine these constants using the C bitwise OR operator.

Topics

Constants

NSHourMinuteDatePickerElementFlag

Display and allow editing of the hour and minute elements of the date.

Deprecated
NSHourMinuteSecondDatePickerElementFlag

Display and allow editing of the hour, minute and second elements of the date.

Deprecated
NSTimeZoneDatePickerElementFlag

Display and allow editing of the time zone.

Deprecated
NSYearMonthDatePickerElementFlag

Display and allow editing of the year and month elements of the date.

Deprecated
NSYearMonthDayDatePickerElementFlag

Display and allow editing of the year, month and day elements of the date.

Deprecated
NSEraDatePickerElementFlag

Display and allow editing of the era of the date, if applicable.

Deprecated

See Also

Configuring Date Pickers

bezeled

A Boolean value that indicates whether the date picker draws a bezeled border.

bordered

A Boolean value that indicates whether the date picker has a plain border.

backgroundColor

The date picker’s background color.

drawsBackground

A Boolean value that indicates whether the date picker draws the background.

textColor

The date picker’s text color.

datePickerStyle

The date picker’s style.

delegate

A delegate for the date picker’s cell

datePickerElements

A bitmask that indicates which visual elements of the date picker are currently shown, and which won't be usable because they are hidden.

NSDatePickerStyle

Constants that define the visual appearance of the date picker cell.