Class

NSDatePickerCell

An object that controls the behavior of a date picker, or of a single date picker cell in a matrix.

Declaration

@interface NSDatePickerCell : NSActionCell

Topics

Configuring Appearance

backgroundColor

The cell’s background color.

drawsBackground

A Boolean value indicating whether the cell draws its background.

textColor

The cell’s text color.

datePickerStyle

The date picker style to use.

datePickerElements

A bitmask that indicates which visual elements are shown by the date picker.

Range Mode

datePickerMode

The mode in use by the date picker.

Object Values

dateValue

The date currently specified in the picker.

timeInterval

The time interval that represents the date range.

calendar

The calendar used by the date picker.

locale

The locale used to display dates.

timeZone

The time zone used to display time-related values.

Date Range Constraints

minDate

The minimum date that the picker allows as input.

maxDate

The maximum date that the picker allows as input.

Getting and Setting the Delegate

delegate

The delegate associated with the date picker.

Constants

NSDatePickerStyle

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

NSDatePickerMode

Constants that define whether the picker provides a single date, or a range of dates.

NSDatePickerElementFlags

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

Relationships

Inherits From

See Also

Cells

NSDatePickerCellDelegate

A set of optional methods implemented by delegates of NSDatePickerCell objects.