Hello nice people,

I wrote a little OS X application that uses a NSTimer. I initialize it like this:

   repeatingTimer = [NSTimer scheduledTimerWithTimeInterval:4.0
target:self selector:@selector(timerFireMethod)
                             userInfo:nil repeats:YES];

And I have a small simple timerFireMethod. Nothing else is done with the times in the app.

Everything works fine in the Debug builds. But in the Release build the NSTimer simply just doesn't fire.

I googled but to no avail yet.

Any hints? Maybe change some optimization flags in the Release build settings? But which ones?

Thanks a lot!
Stefan.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to