An NSDate​Picker​Cell instance controls the behavior of an NSDate​Picker control, or of a single date picker cell in a matrix.


Configuring Appearance

var background​Color:​ NSColor

The cell’s background color.

var draws​Background:​ Bool

A Boolean value indicating whether the cell draws its background.

var text​Color:​ NSColor

The cell’s text color.

var date​Picker​Elements:​ NSDate​Picker​Element​Flags

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

Range Mode

var date​Picker​Mode:​ NSDate​Picker​Mode

The mode in use by the date picker.

Object Values

var date​Value:​ Date

The date currently specified in the picker.

var time​Interval:​ Time​Interval

The time interval that represents the date range.

var calendar:​ Calendar?

The calendar used by the date picker.

var locale:​ Locale?

The locale used to display dates.

var time​Zone:​ Time​Zone?

The time zone used to display time-related values.

Date Range Constraints

var min​Date:​ Date?

The minimum date that the picker allows as input.

var max​Date:​ Date?

The maximum date that the picker allows as input.

Getting and Setting the Delegate

var delegate:​ NSDate​Picker​Cell​Delegate?

The delegate associated with the date picker.



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


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


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


Inherits From