• 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
Displaying time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Displaying time


  • Subject: Displaying time
  • From: Ron Fleckner <email@hidden>
  • Date: Fri, 22 Aug 2008 16:59:30 +1000

Hi,

I want to display the current time in a full screen window. I'm making my computer into a digital clock (for my own use). I've done it by using NSCalendarDate and extracting the hours, minutes, and seconds, formatting a string and displaying it. I use an NSTimer to update the display every half a second.

My question is: Is there a better way to display what is essentially the same as the menu bar clock?

Thanks for any ideas,

Ron
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Displaying time
      • From: Graham Cox <email@hidden>
    • Re: Displaying time
      • From: Nathan Kinsinger <email@hidden>
  • Prev by Date: File Extensions Problem
  • Next by Date: Re: File Extensions Problem
  • Previous by thread: Re: File Extensions Problem
  • Next by thread: Re: Displaying time
  • Index(es):
    • Date
    • Thread