Re: NSDatePicker Question with NSArrayController and Master/Detail interface
Re: NSDatePicker Question with NSArrayController and Master/Detail interface
- Subject: Re: NSDatePicker Question with NSArrayController and Master/Detail interface
- From: Troy Stephens <email@hidden>
- Date: Wed, 21 Sep 2005 14:10:52 -0700
On Sep 21, 2005, at 8:12 AM, Carlos Rivera wrote:
I am trying to develop a core data application with a master/detail
interface. I pretty much have followed he tutorials in
cocoadevcentral.com<http://cocoadevcentral.com>and the ones from the
Apple site. Everything seems to work just fine but for
one small detail. I have this
NSDatePicker<http://cocoadev.com/index.pl?NSDatePicker>that when I
create a new record I set the current date on it. The problem is
that the master TableView?
<http://cocoadev.com/index.pl?edit=TableView>column is not being
pdated. It only gets updated if I increase/decrease the
day/month/year. Now I want the user to set the date if he/she want,
but if
they don't want to enter a date because the one that I set
initially is
appropiate then they should not fiddle with the control. All my
other fields
are being updated just fine. Any ideas of what could be going on?
Use of NSDatePickerCells in an NSTableView isn't supported yet:
http://lists.apple.com/archives/cocoa-dev/2005/May/msg01114.html
The recommended alternative is to instead use an NSTextFieldCell with
an associated NSDateFormatter.
--
Troy Stephens
Cocoa Frameworks
Apple Computer, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden