Skip navigation.
 
mlNSDatePicker + today
FROM : Robert Cerny
DATE : Thu Jul 20 17:13:21 2006

Hi folks,
I have a coredata application, which model's entity named Record 
contains 3 date attributes, which are bound to NSDatePicker (text 
mode). I did set 'default value' in model for all three attributes to 
'today'

The date picker 1 displays Year, Month, Day and default value works 
here.
The date picker 2+3 display Hour, Minute and Sec and default value 
doesn't do anything.
I would like to set it to _now_ but didn't find the right way except 
subclassing arraycontroller and overriding awakeFromInsert? It looks 
like an overhaul..

Thanks
Robert

Related mailsAuthorDate
No related mails found.