Re: Newbie thread question
Re: Newbie thread question
- Subject: Re: Newbie thread question
- From: Dustin Voss <email@hidden>
- Date: Tue, 3 Feb 2004 16:07:00 -0800
On 3 Feb, 2004, at 11:49 AM, Randall Meadows wrote:
[NSThread detachNewThreadSelector:@selector(doThreadedProcess)
toTarget:[ConverterWdw class] withObject:self];
[ConverterWdw class] returns the ConverterWdw class itself. It returns
a "Class *", not a "ConverterWdw *". The ConverterWdw class is where
class methods (such as +alloc, +initialize, or +converterWithYadda)
live. Your doThreadedProcess method is not a class method, so you
should use an instance of ConverterWdw as the target.
_______________________________________________
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.