• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sending NSString to NSThread task
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Sending NSString to NSThread task
      • From: Dustin Voss <email@hidden>
References: 
 >Sending NSString to NSThread task (From: "Peter Karlsson" <email@hidden>)

  • Prev by Date: NSSocketPort bug?
  • Next by Date: Re: one document at a time
  • Previous by thread: Sending NSString to NSThread task
  • Next by thread: Re: Sending NSString to NSThread task
  • Index(es):
    • Date
    • Thread