memphis.ray 0 Newbie Poster

Hello my friends,

I'm getting new types of ignorance from new iOS SDK. (xcode 3.2.5).

I always wanted to have my own gameloop.

here is the some part of it.

- (void) gameLoop
{
   //get all touches
   while(CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.002f, TRUE) == kCFRunLoopRunHandledSource);
   //Update logic:
   UpdateLogic();
   //Render Frame
   Render();
}

I have to mention that I have only one view class that has all the touches, such as touchesBegan, touchesMoved and touchesEnded.

The other funny thing is that whenever I run my code agains iPad Simulator, all the touches will be triggered. I don't know why and why and why:@:@:@:@

If you know this problem, I would really appreciated if you guide me to fix this issue.

Thanks
Memphis