Re: Sending NSString to NSThread task
Re: Sending NSString to NSThread task
- Subject: Re: Sending NSString to NSThread task
- From: j o a r <email@hidden>
- Date: Wed, 15 Dec 2004 11:54:48 +0100
Hello,
On 2004-12-15, at 11.10, Peter Karlsson wrote:
How do I send the NSString 'action' in myAction to the threadTask?
Change it to:
NSString *myString = @"SomeString";
[NSThread detachNewThreadSelector:@selector(threadTaskWithString:)
toTarget:self withObject: myString];
- (void) threadTaskWithString: (NSString *) aString
{
}
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden