• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSDate binding to datepicker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Dock icon removal. and NSStatusBar
  • Next by Date: Re: Changing the sequence of editing cells in NSTableView/NSOutlineView
  • Previous by thread: Stroke text along with a Bezierpath
  • Next by thread: NSStatusItem Length Transition
  • Index(es):
    • Date
    • Thread