Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8476485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:11:32+00:00 2026-06-10T18:11:32+00:00

In a fairly simple application that I am making, I use many NSTimers, one

  • 0

In a fairly simple application that I am making, I use many NSTimers, one which runs at a rate of .01 seconds that I use to change the position of multiple images. This causes major lag. How can I fix this? Please explain in detail, as I am fairly new to app dev.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T18:11:34+00:00Added an answer on June 10, 2026 at 6:11 pm

    From the NSTimer Docs (emphasis: mine):

    A timer is not a real-time mechanism; it fires only when one of the
    run loop modes to which the timer has been added is running and able
    to check if the timer’s firing time has passed. Because of the various
    input sources a typical run loop manages, the effective resolution of
    the time interval for a timer is limited to on the order of 50-100
    milliseconds
    . If a timer’s firing time occurs during a long callout or
    while the run loop is in a mode that is not monitoring the timer, the
    timer does not fire until the next time the run loop checks the timer.
    Therefore, the actual time at which the timer fires potentially can be
    a significant period of time after the scheduled firing time.

    If you want to work at the display frequency, see CADisplayLink.

    However, you should first understand where you program spends its time now to understand what makes it slow (profiler).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making an iPhone application that is fairly simple. All I need to
I'm programming a fairly simple application which I want to cut to just one
Let's say I'm making a fairly simple web application using JAVA EE specs (I've
I have a fairly simple C# application that has builds a large hashtable. The
I have a fairly simple iPhone application that I want to have run on
I have a fairly simple PyQt application in which I'm placing instances of a
I am writing a fairly simple MVC3 application that allows a user to retrieve
I have a fairly simple Windows Forms application that I would like to add
I have a Delphi application that I have written a fairly simple wrapper .exe
I'm trying to write a fairly simple application that passes data between two sockets.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.