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

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.
  • Follow-Ups:
    • Re: Newbie thread question
      • From: Randall Meadows <email@hidden>
References: 
 >Newbie thread question (From: Randall Meadows <email@hidden>)

  • Prev by Date: RE: saveAs problems
  • Next by Date: Re: Newbie and NSLayoutManager
  • Previous by thread: Re: Newbie thread question
  • Next by thread: Re: Newbie thread question
  • Index(es):
    • Date
    • Thread