Re: NSThread
Re: NSThread
- Subject: Re: NSThread
- From: Martin Weil <email@hidden>
- Date: Thu, 09 May 2002 19:06:03 +0200
Ok, I tried it:
#import "Controller.h"
@implementation Controller
- (IBAction)startThread:(id)sender
{
Controller *daisy = [[Controller alloc] init];
[NSThread detachNewThreadSelector:@selector(thread) toTarget:daisy
withObject:nil];
}
-(void)thread
{
[outText setIntValue:1];
}
@end
Whats wrong with this, and what does daisy stand for?
Thanks for response,
Martin
--
http://www.mweil.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: NSThread (From: Brendan Younger <email@hidden>) |