Is it possible to run a selector which is invoked by the nstimer on the main thread?
The NSTimer is spawned in it’s own thread.
My structure is that a thread invokes a method with a nstimer, the nstimer invokes a method that do some updates, but I need these updates to happen on the main thread. What is the solution? Add another method and say performOnMainThread?
Yes, from your timer routine just call use performOnMainThread. From the docs:
also a caveat about invalidating repeating timers: