NSDatePickerCellDelegate Protocol Reference
Available in OS X v10.6 and later.
NSDatePickerCellDelegate protocol defines the optional methods implemented by delegates of
The delegate receives this message each time the user attempts to change the receiver‘s value, allowing the delegate the opportunity to override the change.
The cell that sent the message.
On input, contains the proposed new date. The delegate may change this value before returning.
On input, contains the proposed new time interval. The delegate may change this value before returning.
When returning a new proposedDateValue, the
NSDate instance should be autoreleased, and the proposedDateValue should not be released by the delegate.
The proposedDateValue and proposedTimeInterval are guaranteed to lie between the dates returned by
maxDate. If you modify these values, you should ensure that the new values are within the appropriate range.
- Available in OS X v10.4 and later.
- Available as part of an informal protocol prior to OS X v10.6.
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-04-15)