NSTimer - how aggresive can I fire?

Discussion in 'iOS Programming' started by dantastic, Feb 8, 2011.

  1. dantastic macrumors 6502

    dantastic

    Joined:
    Jan 21, 2011
    #1
    I want to add a label hooked up to a timer. I want the label to spew out seconds & milliseconds (ss:mm)

    The most obvious way to do this seems to be the use of NSTimer, but I'd have to fire every 0.01 sec to update the label. Is that OK or an awful overhead?

    Is there a better function out there to do this or am I doing it right? (or do I need to be told? :eek:)
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    From the documentation:

     

Share This Page