Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Replace NSTimer with CADisplayLink #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaetanzanella
Copy link

An NSTimer is not the optimal way to draw stuff to the screen that needs to refresh every frame. CADisplayLink is way better. It always fires immediately prior to the screen being redrawn.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant