NOTE: This project is obsolete. I've reimplemented it in Swift at https://github.com/adamhartford/PopDatePicker.
ASHDatePicker is an NSDatePicker subclass that provides an attached NSPopover. It is bindings compatible.
- Add ASHDatePicker.h and ASHDatePicker.m to your project.
- Drop an NSDatePicker onto your view in Interface Builder and change its class type to ASHDatePicker.
- (BOOL)datePickerShouldShowPopover:(ASHDatePicker *)datepicker;
Called each time a date picker becomes the first responder. Return NO if the popover should not be displayed. If not implemented, default is YES.
@property (assign) NSRectEdge preferredPopoverEdge;
The preferred edge at which to display the popover. Default is NSMaxXEdge.