<?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: Cocoa Touch Tutorial: Stripping Non-Alphanumeric Characters on Entry in a UITextField</title>
	<atom:link href="http://blog.slaunchaman.com/2010/02/26/cocoa-touch-tutorial-stripping-non-alphanumeric-characters-on-entry-in-a-uitextfield/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.slaunchaman.com/2010/02/26/cocoa-touch-tutorial-stripping-non-alphanumeric-characters-on-entry-in-a-uitextfield/</link>
	<description>Mac tips, iPhone applications, and the like</description>
	<lastBuildDate>Mon, 28 Nov 2011 11:12:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Cam</title>
		<link>http://blog.slaunchaman.com/2010/02/26/cocoa-touch-tutorial-stripping-non-alphanumeric-characters-on-entry-in-a-uitextfield/comment-page-1/#comment-860</link>
		<dc:creator>Cam</dc:creator>
		<pubDate>Thu, 15 Apr 2010 00:41:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.slaunchaman.com/?p=216#comment-860</guid>
		<description>Thank you for the reply Jeff. I will give that a try!</description>
		<content:encoded><![CDATA[<p>Thank you for the reply Jeff. I will give that a try!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Kelley</title>
		<link>http://blog.slaunchaman.com/2010/02/26/cocoa-touch-tutorial-stripping-non-alphanumeric-characters-on-entry-in-a-uitextfield/comment-page-1/#comment-855</link>
		<dc:creator>Jeff Kelley</dc:creator>
		<pubDate>Tue, 06 Apr 2010 18:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.slaunchaman.com/?p=216#comment-855</guid>
		<description>Cam, in this method you have access to the &lt;code&gt;UITextField&lt;/code&gt;, so you can do anything you want with it. Check its text&#039;s length and ensure that it doesn&#039;t go over 10. You can do it yourself by changing the string manually, or by implementing &lt;code&gt;-textField:shouldChangeCharactersInRange:replacementString:&lt;/code&gt;. You can check the location and length of the &lt;code&gt;NSRange&lt;/code&gt; in that method and compare it to the &lt;code&gt;length&lt;/code&gt; property of the text. If the result would be more than 10 characters long, return &lt;code&gt;NO&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>Cam, in this method you have access to the <code>UITextField</code>, so you can do anything you want with it. Check its text&#8217;s length and ensure that it doesn&#8217;t go over 10. You can do it yourself by changing the string manually, or by implementing <code>-textField:shouldChangeCharactersInRange:replacementString:</code>. You can check the location and length of the <code>NSRange</code> in that method and compare it to the <code>length</code> property of the text. If the result would be more than 10 characters long, return <code>NO</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cam</title>
		<link>http://blog.slaunchaman.com/2010/02/26/cocoa-touch-tutorial-stripping-non-alphanumeric-characters-on-entry-in-a-uitextfield/comment-page-1/#comment-854</link>
		<dc:creator>Cam</dc:creator>
		<pubDate>Tue, 06 Apr 2010 17:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.slaunchaman.com/?p=216#comment-854</guid>
		<description>Thank you for this great tutorial. If one wanted to not only limit the textfield to alphanumerics but also limit the textfield&#039;s length, say to 10 characters. How would they go about that?</description>
		<content:encoded><![CDATA[<p>Thank you for this great tutorial. If one wanted to not only limit the textfield to alphanumerics but also limit the textfield&#8217;s length, say to 10 characters. How would they go about that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

