That's really not cool, as you are eating CPU time in the loop.
IF it works at all, as I don't think any framework will call a delegate except during the message loop. By looping inside your code, you are not allowing the message loop to run.
Why not just sleepForTimeInterval?
Last edited by jtara; 04-25-2009 at 08:36 PM.
|