NSDate binding to datepicker
NSDate binding to datepicker
- Subject: NSDate binding to datepicker
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 19 May 2007 08:28:15 -0700 (PDT)
I have a problem with a date and a datepicker with
binding.
I have a database app and a problem with nsdates....
I have an object that has a normal setter and getter
with an NSCalendarDate... the date is coming from my
backend database. I query the database and populate my
object with strings and dates.. I put NSLogs into my
setters and the dates are setting correctly.
I bound the NSCalendarDate in my obect to both a
textfield and an datepicker. The textfield shows the
correct date.... 2005-05-03 however the datepicker
shows 1/3/2005. I can click the datepicker controls
and both the textfield and datepicker will update...
but I can not seem to set the NSCalendarDate with the
setter...
What's going on here?
Ted
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden