• 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
Re: Time & Date Control?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time & Date Control?


  • Subject: Re: Time & Date Control?
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 19 Apr 2002 21:20:07 +0200

On Friday, April 19, 2002, at 08:23 , Sanford Selznick wrote:

I'm a Carbon programmer learning Cocoa, so please bear with me. In Carbon there's a Time and Date control. It's a box that allows users to edit a date _or_ a time using small arrows.

Does such a control exist in Cocoa?

Yes and not. The standard way of displaying and entering date/time are cells of any kind, which use the NSDateFormatter. The behaviour though differs: check NSDateFormatter for details.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Time & Date Control? (From: Sanford Selznick <email@hidden>)

  • Prev by Date: Re: Displaying a table entry in Bold
  • Next by Date: Re: Displaying a table entry in Bold
  • Previous by thread: Time & Date Control?
  • Next by thread: Drag and dropping into an NSTextView
  • Index(es):
    • Date
    • Thread