• 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: NSThread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: DO and Proxy Indirection
  • Next by Date: A little guidance
  • Previous by thread: Re: NSThread
  • Next by thread: Saving NSColor
  • Index(es):
    • Date
    • Thread