<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A Java Developer&#8217;s Guide to Threads on iPhone</title>
	<atom:link href="http://iPhoneDeveloperTips.com/cocoa/a-java-developers-guide-to-threads-on-iphone.html/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneDeveloperTips.com/cocoa/a-java-developers-guide-to-threads-on-iphone.html</link>
	<description>Tips and Tricks for iPhone developers</description>
	<lastBuildDate>Thu, 29 Jul 2010 23:00:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Dave Casserly</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/a-java-developers-guide-to-threads-on-iphone.html/comment-page-1#comment-9671</link>
		<dc:creator>Dave Casserly</dc:creator>
		<pubDate>Wed, 17 Feb 2010 09:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=804#comment-9671</guid>
		<description>Thanks for this. Very handy. However.....

In you comment you said you can do this:

- (void) run:(NSString *)someValue someOtherValue:(NSString *)value; 
// @selector(run:someOtherValue:)

However, NSThread documentation:
+ (void)detachNewThreadSelector:(SEL)aSelector toTarget:(id)aTarget withObject:(id)anArgument

...reads that you can only pass one argument into the thread.

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks for this. Very handy. However&#8230;..</p>
<p>In you comment you said you can do this:</p>
<p>- (void) run:(NSString *)someValue someOtherValue:(NSString *)value;<br />
// @selector(run:someOtherValue:)</p>
<p>However, NSThread documentation:<br />
+ (void)detachNewThreadSelector:(SEL)aSelector toTarget:(id)aTarget withObject:(id)anArgument</p>
<p>&#8230;reads that you can only pass one argument into the thread.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abe</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/a-java-developers-guide-to-threads-on-iphone.html/comment-page-1#comment-6516</link>
		<dc:creator>Abe</dc:creator>
		<pubDate>Thu, 12 Nov 2009 05:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=804#comment-6516</guid>
		<description>Thank you!  I never leave comments.. but I just had to say thanks for this one!</description>
		<content:encoded><![CDATA[<p>Thank you!  I never leave comments.. but I just had to say thanks for this one!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NutSteenuedow</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/a-java-developers-guide-to-threads-on-iphone.html/comment-page-1#comment-1248</link>
		<dc:creator>NutSteenuedow</dc:creator>
		<pubDate>Fri, 24 Apr 2009 02:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=804#comment-1248</guid>
		<description>I&#039;m the only one in this world. Can please someone join me in this life? Or maybe death...</description>
		<content:encoded><![CDATA[<p>I&#8217;m the only one in this world. Can please someone join me in this life? Or maybe death&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodney Aiglstorfer</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/a-java-developers-guide-to-threads-on-iphone.html/comment-page-1#comment-61</link>
		<dc:creator>Rodney Aiglstorfer</dc:creator>
		<pubDate>Fri, 17 Oct 2008 03:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=804#comment-61</guid>
		<description>@John, 

&lt;del datetime=&quot;00&quot;&gt;Yes you are correct.  Thanks for catching that!  Should be correct now.&lt;/del&gt;

I stand corrected ... because the run method doesn&#039;t take any arguments, there should be no &#039;:&#039;.

For example, had the method signature looked like:

- (void) run:(NSString *)someValue;

then and only then would the selector look like:

@selector(run:)

and to further illustrate the usage, consider the following three run methods and their respective selectors ...

- (void) run; // @selector(run)
- (void) run:(NSString *)someValue; // @selector(run:)
- (void) run:(NSString *)someValue someOtherValue:(NSString *)value; // @selector(run:someOtherValue:)
 </description>
		<content:encoded><![CDATA[<p>@John, </p>
<p><del datetime="00">Yes you are correct.  Thanks for catching that!  Should be correct now.</del></p>
<p>I stand corrected &#8230; because the run method doesn&#8217;t take any arguments, there should be no &#8216;:&#8217;.</p>
<p>For example, had the method signature looked like:</p>
<p>- (void) run:(NSString *)someValue;</p>
<p>then and only then would the selector look like:</p>
<p>@selector(run:)</p>
<p>and to further illustrate the usage, consider the following three run methods and their respective selectors &#8230;</p>
<p>- (void) run; // @selector(run)<br />
- (void) run:(NSString *)someValue; // @selector(run:)<br />
- (void) run:(NSString *)someValue someOtherValue:(NSString *)value; // @selector(run:someOtherValue:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/a-java-developers-guide-to-threads-on-iphone.html/comment-page-1#comment-60</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 17 Oct 2008 00:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=804#comment-60</guid>
		<description>Thanks for the article.

One thing: should there be a colon after &#039;run&#039; when handing it off as a selector?

e.g.

@selector(run:)

instead of

@selector(run)

?</description>
		<content:encoded><![CDATA[<p>Thanks for the article.</p>
<p>One thing: should there be a colon after &#8216;run&#8217; when handing it off as a selector?</p>
<p>e.g.</p>
<p>@selector(run:)</p>
<p>instead of</p>
<p>@selector(run)</p>
<p>?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
