Re: Invoke the Main RunLoop
Aya Koshigaya <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, but in that way I can only call one function once in the RunLoop. I want to have the function called in EVERY cycle of the Loop. Aya On 09.04.2010, at 16:18, Hamish Allan wrote: > On Fri, Apr 9, 2010 at 3:04 PM, Aya Koshigaya <[email protected]> wrote: > >> Or, can I maybe send any UserEvent to the runLoop and handle this special event somewhere to call my function? > > Check out -[NSObject performSelectorOnMainThread:withObject:waitUntilDone:]. > > H