Re: Getting NSTimer to work after an NSThread completes?
Re: Getting NSTimer to work after an NSThread completes?
- Subject: Re: Getting NSTimer to work after an NSThread completes?
- From: Alex Reynolds <email@hidden>
- Date: Tue, 7 Oct 2008 03:23:06 -0700
On Oct 7, 2008, at 1:42 AM, Jason Coco wrote:
[[NSRunLoop mainRunLoop] addTimer:myNSTimer
forMode:NSDefaultRunLoopMode];
Thanks for the quick response. Unfortunately, this did not work. The
'myNSTimer' never fires.
As a workaround, I tried to update the new view with:
[NSThread detachNewThreadSelector:@selector(updateView)
toTarget:self withObject:nil];
but this only works for one subview animation. After that, any
subsequent detachNewThreadSelector: selector calls never happen.
-Alex
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden