• 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: Displaying Current Time using Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying Current Time using Cocoa


  • Subject: Re: Displaying Current Time using Cocoa
  • From: Anthony Arthur <email@hidden>
  • Date: Sat, 28 Sep 2002 20:08:37 -0400

NSTimer would probably do it for you.

-b

On Saturday, September 28, 2002, at 06:52 PM, King Chung Huang wrote:

Hi,

I need some pointers on how to display the current time of a NSMovieView in
Cocoa. I've figured out how to use the MCGetCurrentTime(controller, scale)
function to get the data that I need, but how do I get a NSTextField to
continually update the displayed value when a movie is playing, or when a
user scrubs through a movie (like when a NSSlider is connected to a
NSTextField)?

Thanks,

King Chung Huang
Learning Commons
University of Calgary
_______________________________________________
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.
_______________________________________________
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: 
 >Displaying Current Time using Cocoa (From: King Chung Huang <email@hidden>)

  • Prev by Date: Re: AddressBook: ABPerson "type"
  • Next by Date: DateFormatter in a table?
  • Previous by thread: Displaying Current Time using Cocoa
  • Next by thread: DateFormatter in a table?
  • Index(es):
    • Date
    • Thread