<?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 get the Return key to dismiss a UITextView</title>
	<atom:link href="http://www.juggleware.com/blog/2010/07/how-to-get-the-return-key-to-dismiss-a-uitextview/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.juggleware.com/blog/2010/07/how-to-get-the-return-key-to-dismiss-a-uitextview/</link>
	<description>news and random thoughts from your friendly neighborhood independent developers at juggleware, llc</description>
	<lastBuildDate>Wed, 01 Feb 2012 20:57:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jeevan Kumar</title>
		<link>http://www.juggleware.com/blog/2010/07/how-to-get-the-return-key-to-dismiss-a-uitextview/comment-page-1/#comment-264</link>
		<dc:creator>Jeevan Kumar</dc:creator>
		<pubDate>Mon, 18 Oct 2010 19:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=280#comment-264</guid>
		<description>- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text {
	
    if([text isEqualToString:@&quot;\n&quot;]) {
        [textView resignFirstResponder];
        return NO;
    }
	
    return YES;
}

This should work</description>
		<content:encoded><![CDATA[<p>- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text {</p>
<p>    if([text isEqualToString:@"\n"]) {<br />
        [textView resignFirstResponder];<br />
        return NO;<br />
    }</p>
<p>    return YES;<br />
}</p>
<p>This should work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ersin</title>
		<link>http://www.juggleware.com/blog/2010/07/how-to-get-the-return-key-to-dismiss-a-uitextview/comment-page-1/#comment-263</link>
		<dc:creator>ersin</dc:creator>
		<pubDate>Sat, 16 Oct 2010 09:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=280#comment-263</guid>
		<description>this code dosent work...</description>
		<content:encoded><![CDATA[<p>this code dosent work&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

