<?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: Multi-line/Autoresizing UITextView similar to SMS-app</title>
	<atom:link href="http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms</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: simon</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-343</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Thu, 24 Nov 2011 15:01:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-343</guid>
		<description>and I&#039;m setting the rect later...</description>
		<content:encoded><![CDATA[<p>and I&#8217;m setting the rect later&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simon</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-342</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Thu, 24 Nov 2011 15:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-342</guid>
		<description>It looks like it doesn&#039;t resizes to the max height I gave it [4 lines].
Is there a problem with ios5 maybe?

this is my code:

m_textView = [[HPGrowingTextView alloc] init];
    m_textView.contentInset = UIEdgeInsetsMake(0, 5, 0, 5);
    m_textView.minNumberOfLines = 1;
    m_textView.maxNumberOfLines = 4;
    m_textView.font = [UIFont systemFontOfSize:14.0];
    m_textView.delegate = self;
    m_textView.internalTextView.scrollIndicatorInsets = UIEdgeInsetsMake(5, 0, 5, 0);
    m_textView.backgroundColor = [UIColor whiteColor];
    m_textView.autoresizingMask = UIViewAutoresizingFlexibleWidth;

do you see any thing that might have break it?
It grows all the way to the top.

Thanks,

S</description>
		<content:encoded><![CDATA[<p>It looks like it doesn&#8217;t resizes to the max height I gave it [4 lines].<br />
Is there a problem with ios5 maybe?</p>
<p>this is my code:</p>
<p>m_textView = [[HPGrowingTextView alloc] init];<br />
    m_textView.contentInset = UIEdgeInsetsMake(0, 5, 0, 5);<br />
    m_textView.minNumberOfLines = 1;<br />
    m_textView.maxNumberOfLines = 4;<br />
    m_textView.font = [UIFont systemFontOfSize:14.0];<br />
    m_textView.delegate = self;<br />
    m_textView.internalTextView.scrollIndicatorInsets = UIEdgeInsetsMake(5, 0, 5, 0);<br />
    m_textView.backgroundColor = [UIColor whiteColor];<br />
    m_textView.autoresizingMask = UIViewAutoresizingFlexibleWidth;</p>
<p>do you see any thing that might have break it?<br />
It grows all the way to the top.</p>
<p>Thanks,</p>
<p>S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul vyas</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-341</link>
		<dc:creator>Rahul vyas</dc:creator>
		<pubDate>Wed, 23 Nov 2011 11:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-341</guid>
		<description>Hello Hans,

Nice work.... I&#039; m looking for a solution to add image inside textview and then manage selection and text insertion like apple&#039;s mailcomposer does. But I am struggling with this. Do you have any solution?</description>
		<content:encoded><![CDATA[<p>Hello Hans,</p>
<p>Nice work&#8230;. I&#8217; m looking for a solution to add image inside textview and then manage selection and text insertion like apple&#8217;s mailcomposer does. But I am struggling with this. Do you have any solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krystian</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-340</link>
		<dc:creator>Krystian</dc:creator>
		<pubDate>Thu, 03 Nov 2011 07:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-340</guid>
		<description>nevermind that... I&#039;ve probably made few too many customizations. I finally got that I didn&#039;t resize appropriate views.</description>
		<content:encoded><![CDATA[<p>nevermind that&#8230; I&#8217;ve probably made few too many customizations. I finally got that I didn&#8217;t resize appropriate views.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krystian</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-339</link>
		<dc:creator>Krystian</dc:creator>
		<pubDate>Wed, 02 Nov 2011 20:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-339</guid>
		<description>Hi,

I really love this little piece of code. I only have one problem with it. Scrolling only works if I touch on the first line of the text view. Then i can scroll. Nothing happens when I touch any other line. How can I fix this?
Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I really love this little piece of code. I only have one problem with it. Scrolling only works if I touch on the first line of the text view. Then i can scroll. Nothing happens when I touch any other line. How can I fix this?<br />
Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-337</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 23 Oct 2011 15:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-337</guid>
		<description>Super elegant code!

In response to SSR&#039;s question from Feb. - HPGTV looks for this selector, and then handles the &quot;Return&quot; key as needed

// this is a selector that HPGrowingTextView looks for to trap the &quot;Return&quot; key (char \n). Set it to YES to have HPGTV resign the keyboard
- (BOOL)growingTextViewShouldReturn:(id)selector
{
    return YES;
}</description>
		<content:encoded><![CDATA[<p>Super elegant code!</p>
<p>In response to SSR&#8217;s question from Feb. &#8211; HPGTV looks for this selector, and then handles the &#8220;Return&#8221; key as needed</p>
<p>// this is a selector that HPGrowingTextView looks for to trap the &#8220;Return&#8221; key (char \n). Set it to YES to have HPGTV resign the keyboard<br />
- (BOOL)growingTextViewShouldReturn:(id)selector<br />
{<br />
    return YES;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-336</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Fri, 21 Oct 2011 02:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-336</guid>
		<description>Hi,

Love the implementation so much!!!!
I just have a simple question, how can I make the textField secure? I tried textField.internalTextView.secureTextEntry = YES but it doesn’t change.

Thanks!!!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Love the implementation so much!!!!<br />
I just have a simple question, how can I make the textField secure? I tried textField.internalTextView.secureTextEntry = YES but it doesn’t change.</p>
<p>Thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-334</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 19 Oct 2011 08:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-334</guid>
		<description>If I set (instead of typing by keyboard) large text value, it does not expands to the maximum of lines number. Is there any way to expand it?

Also if I set string value containing linefeeds, and then deleting them by keyboard, height goes below 1 line. Any ideas to fix this?</description>
		<content:encoded><![CDATA[<p>If I set (instead of typing by keyboard) large text value, it does not expands to the maximum of lines number. Is there any way to expand it?</p>
<p>Also if I set string value containing linefeeds, and then deleting them by keyboard, height goes below 1 line. Any ideas to fix this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simon</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-327</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Thu, 08 Sep 2011 09:35:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-327</guid>
		<description>Hi Hans,

A short question: i have a table view on my screen and it&#039;s covered by the KB.
Do you know how to make the table scroll all the way up?

Thanks,
S</description>
		<content:encoded><![CDATA[<p>Hi Hans,</p>
<p>A short question: i have a table view on my screen and it&#8217;s covered by the KB.<br />
Do you know how to make the table scroll all the way up?</p>
<p>Thanks,<br />
S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simon</title>
		<link>http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms/comment-page-1#comment-326</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Thu, 08 Sep 2011 09:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.hanspinckaers.com/?p=298#comment-326</guid>
		<description>Thanks man!!!
I LOVE YOU :):):)</description>
		<content:encoded><![CDATA[<p>Thanks man!!!<br />
I LOVE YOU <img src='http://www.hanspinckaers.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> :):)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

