How can I modify the NSDatePickerElementFlags for the NSDatePicker in row templates for NSDate properties returned by [NSPredicateRowEditorTemplate templatesWithAttributeKeyPaths:inEntityDescription:]? I would like the NSDatePicker to show hrs:minutes as well as the date.
Update I’ve added an answer below, gleaned from the cocoa-dev list.
Per Peter Ammon, on cocoa-dev, and as Ben notes, the easiest way is to modify the date picker in
-templateViewsdirectly:According to Peter, the order of elements in
-templateViewsis guaranteed to be constant.