<?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: How to create a UITableViewCell with &#8220;copy&#8221; ability</title>
	<atom:link href="http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility</link>
	<description></description>
	<lastBuildDate>Sun, 25 Dec 2011 03:09:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: John Grange</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-345</link>
		<dc:creator>John Grange</dc:creator>
		<pubDate>Sun, 25 Dec 2011 03:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-345</guid>
		<description>Thank you, I can&#039;t believe this is not built in ! You saved me a lot of time.</description>
		<content:encoded><![CDATA[<p>Thank you, I can&#8217;t believe this is not built in ! You saved me a lot of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Levy</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-333</link>
		<dc:creator>Adam Levy</dc:creator>
		<pubDate>Wed, 12 Oct 2011 23:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-333</guid>
		<description>Awesome!  Thanks for the help!</description>
		<content:encoded><![CDATA[<p>Awesome!  Thanks for the help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kahng</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-279</link>
		<dc:creator>Kahng</dc:creator>
		<pubDate>Sat, 16 Jul 2011 01:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-279</guid>
		<description>Thank you for your perfect code. 

Jared&#039;s code is also good, but should remove [cell release]
because it makes error. 
Also, Jared&#039;s code is not documented one by Apple and someday could be deprecated or not supported, I&#039;m afraid of that. 
But HP&#039;s code is perfect using only documented ones. 

Thanks again, Hans, I&#039;ve just followed you @ Twitter. </description>
		<content:encoded><![CDATA[<p>Thank you for your perfect code. </p>
<p>Jared&#8217;s code is also good, but should remove [cell release]<br />
because it makes error. <br />
Also, Jared&#8217;s code is not documented one by Apple and someday could be deprecated or not supported, I&#8217;m afraid of that. <br />
But HP&#8217;s code is perfect using only documented ones. </p>
<p>Thanks again, Hans, I&#8217;ve just followed you @ Twitter. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-274</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Tue, 14 Jun 2011 08:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-274</guid>
		<description>It&#039;s actually quite a bit simpler now. Just implement the following three methods in the UITableView controller:

-(void)tableView:(UITableView*)tableView performAction:(SEL)action forRowAtIndexPath:(NSIndexPath*)indexPath withSender:(id)sender{    UIPasteboard *gpBoard = [UIPasteboard generalPasteboard];	    UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];	if (cell.detailTextLabel.text &amp;&amp; ![cell.detailTextLabel.text isEqual:@&quot;&quot;]) {		[gpBoard setString:cell.detailTextLabel.text];	} else {		[gpBoard setString:cell.textLabel.text];	}    [cell release];}
-(BOOL)tableView:(UITableView*)tableView canPerformAction:(SEL)action forRowAtIndexPath:(NSIndexPath*)indexPath withSender:(id)sender{	    if (action == @selector(copy:))         return YES; 	else return [super canPerformAction:action withSender:sender];}
-(BOOL)tableView:(UITableView*)tableView shouldShowMenuForRowAtIndexPath:(NSIndexPath*)indexPath{    return YES;}</description>
		<content:encoded><![CDATA[<p>It&#8217;s actually quite a bit simpler now. Just implement the following three methods in the UITableView controller:</p>
<p>-(void)tableView:(UITableView*)tableView performAction:(SEL)action forRowAtIndexPath:(NSIndexPath*)indexPath withSender:(id)sender{    UIPasteboard *gpBoard = [UIPasteboard generalPasteboard];	    UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];	if (cell.detailTextLabel.text &#038;&#038; ![cell.detailTextLabel.text isEqual:@""]) {		[gpBoard setString:cell.detailTextLabel.text];	} else {		[gpBoard setString:cell.textLabel.text];	}    [cell release];}<br />
-(BOOL)tableView:(UITableView*)tableView canPerformAction:(SEL)action forRowAtIndexPath:(NSIndexPath*)indexPath withSender:(id)sender{	    if (action == @selector(copy:))         return YES; 	else return [super canPerformAction:action withSender:sender];}<br />
-(BOOL)tableView:(UITableView*)tableView shouldShowMenuForRowAtIndexPath:(NSIndexPath*)indexPath{    return YES;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kashiv</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-266</link>
		<dc:creator>Kashiv</dc:creator>
		<pubDate>Thu, 31 Mar 2011 09:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-266</guid>
		<description>Great code, thank you!!!</description>
		<content:encoded><![CDATA[<p>Great code, thank you!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [self learnLanguage:objectiveC];</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-205</link>
		<dc:creator>[self learnLanguage:objectiveC];</dc:creator>
		<pubDate>Wed, 23 Feb 2011 20:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-205</guid>
		<description>[...] UITableViewCell with &quot;copy&quot; ability [...]</description>
		<content:encoded><![CDATA[<p>[...] UITableViewCell with &#8220;copy&#8221; ability [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calvin</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-129</link>
		<dc:creator>Calvin</dc:creator>
		<pubDate>Wed, 15 Sep 2010 04:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-129</guid>
		<description>Great stuff, thanks!</description>
		<content:encoded><![CDATA[<p>Great stuff, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John James</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-69</link>
		<dc:creator>John James</dc:creator>
		<pubDate>Wed, 31 Mar 2010 05:58:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-69</guid>
		<description>Excellent - was missing the cancelled touches piece. Thank you!</description>
		<content:encoded><![CDATA[<p>Excellent &#8211; was missing the cancelled touches piece. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UITableViewCell with “copy” ability &#124; Just the Thought of It</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-68</link>
		<dc:creator>UITableViewCell with “copy” ability &#124; Just the Thought of It</dc:creator>
		<pubDate>Thu, 18 Mar 2010 05:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-68</guid>
		<description>[...] Check out his site for the files and more. www.hanspinckaers.com [...]</description>
		<content:encoded><![CDATA[<p>[...] Check out his site for the files and more. <a href="http://www.hanspinckaers.com" rel="nofollow">http://www.hanspinckaers.com</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Jamison</title>
		<link>http://www.hanspinckaers.com/how-to-create-a-uitableviewcell-with-copy-possibility/comment-page-1#comment-67</link>
		<dc:creator>Kevin Jamison</dc:creator>
		<pubDate>Tue, 16 Mar 2010 05:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=237#comment-67</guid>
		<description>This is perfect! Thank you so much for providing this. It is awesome you provide this type of help. I was beating my head against a wall on this one. Works great.
Kevin
@finalpointlogic</description>
		<content:encoded><![CDATA[<p>This is perfect! Thank you so much for providing this. It is awesome you provide this type of help. I was beating my head against a wall on this one. Works great.<br />
Kevin<br />
@finalpointlogic</p>
]]></content:encoded>
	</item>
</channel>
</rss>

