<?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 for App Per Month</title>
	<atom:link href="http://code-ninja.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://code-ninja.org</link>
	<description>My journey into iOS, Objective-C, and monthly app store releases</description>
	<lastBuildDate>Sat, 19 May 2012 18:54:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on iOS Quick Tip: Filtering a UITableView with a search bar by James</title>
		<link>http://code-ninja.org/blog/2012/01/08/ios-quick-tip-filtering-a-uitableview-with-a-search-bar/#comment-278</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sat, 19 May 2012 18:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=61#comment-278</guid>
		<description>OK, maybe I am missing something. I could not get any of this to work - maybe it is the rookie showing. Can you elaborate more or email me an example of the code you have working?</description>
		<content:encoded><![CDATA[<p>OK, maybe I am missing something. I could not get any of this to work &#8211; maybe it is the rookie showing. Can you elaborate more or email me an example of the code you have working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iOS Quick Tip: Filtering a UITableView with a search bar by James</title>
		<link>http://code-ninja.org/blog/2012/01/08/ios-quick-tip-filtering-a-uitableview-with-a-search-bar/#comment-277</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 17 May 2012 00:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=61#comment-277</guid>
		<description>Marty, thanks! I just got in town, so I will give this a shot.</description>
		<content:encoded><![CDATA[<p>Marty, thanks! I just got in town, so I will give this a shot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iOS Quick Tip: Filtering a UITableView with a search bar by Marty Dill</title>
		<link>http://code-ninja.org/blog/2012/01/08/ios-quick-tip-filtering-a-uitableview-with-a-search-bar/#comment-204</link>
		<dc:creator>Marty Dill</dc:creator>
		<pubDate>Sat, 12 May 2012 17:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=61#comment-204</guid>
		<description>Hey there!
Well, I thought this would be easy, but I can&#039;t seen to get the row to actually select.
Here&#039;s what I did so far:
-Loop through for your items to find the index of the item with a serial number closest to the one you are searching for. Store this in a variable called index.
-Select the row, using the following code:

NSIndexPath* indexPath = [NSIndexPath indexPathForRow:index inSection:0];
[self.tableView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionTop];

This scrolls to the correct row, but it doesn&#039;t seem to actually select it. The same code works perfectly if you do it in, for example, viewDidAppear, so I think that the problem is caused by doing it in -(void)searchBar:(UISearchBar*)searchBar textDidChange:(NSString*)text. I will have to do a bit more investigation to figure out why selection isn&#039;t working in this case.</description>
		<content:encoded><![CDATA[<p>Hey there!<br />
Well, I thought this would be easy, but I can&#8217;t seen to get the row to actually select.<br />
Here&#8217;s what I did so far:<br />
-Loop through for your items to find the index of the item with a serial number closest to the one you are searching for. Store this in a variable called index.<br />
-Select the row, using the following code:</p>
<p>NSIndexPath* indexPath = [NSIndexPath indexPathForRow:index inSection:0];<br />
[self.tableView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionTop];</p>
<p>This scrolls to the correct row, but it doesn&#8217;t seem to actually select it. The same code works perfectly if you do it in, for example, viewDidAppear, so I think that the problem is caused by doing it in -(void)searchBar:(UISearchBar*)searchBar textDidChange:(NSString*)text. I will have to do a bit more investigation to figure out why selection isn&#8217;t working in this case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iOS Quick Tip: Filtering a UITableView with a search bar by Jim</title>
		<link>http://code-ninja.org/blog/2012/01/08/ios-quick-tip-filtering-a-uitableview-with-a-search-bar/#comment-138</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Thu, 10 May 2012 16:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=61#comment-138</guid>
		<description>This tutorial was nice, but I have a request. Can anyone show me how to use the search bar to select and scroll to the results? I have an array setup with Serial#. I would like to search for the serial number (i.e. 459) and it high light the closest serial number (i.e. 500), and scroll to that cell in the tableview.

I am at a loss and just really getting into this - so all help will be appreciated greatly.</description>
		<content:encoded><![CDATA[<p>This tutorial was nice, but I have a request. Can anyone show me how to use the search bar to select and scroll to the results? I have an array setup with Serial#. I would like to search for the serial number (i.e. 459) and it high light the closest serial number (i.e. 500), and scroll to that cell in the tableview.</p>
<p>I am at a loss and just really getting into this &#8211; so all help will be appreciated greatly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ReallyRandom &#8211; an Objective-C class for retrieving truly random numbers from http://random.org by iOS App Postmortems &#8211; Random Dice Roller &#124; App Per Month</title>
		<link>http://code-ninja.org/blog/2012/04/22/reallyrandom-an-objective-c-class-for-retrieving-truly-random-numbers-from-httprandom-org/#comment-129</link>
		<dc:creator>iOS App Postmortems &#8211; Random Dice Roller &#124; App Per Month</dc:creator>
		<pubDate>Tue, 08 May 2012 04:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=286#comment-129</guid>
		<description>[...] The main new technology here was networking. This was my first iOS app that touched the network in any way, shape, or form. Aside from the incredibly annoying extra-long default timeouts, it went quite smoothly, and resulted in my open-source class ReallyRandom. [...]</description>
		<content:encoded><![CDATA[<p>[...] The main new technology here was networking. This was my first iOS app that touched the network in any way, shape, or form. Aside from the incredibly annoying extra-long default timeouts, it went quite smoothly, and resulted in my open-source class ReallyRandom. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iOS Quick Tip: Filtering a UITableView with a search bar by Ed</title>
		<link>http://code-ninja.org/blog/2012/01/08/ios-quick-tip-filtering-a-uitableview-with-a-search-bar/#comment-127</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Sat, 05 May 2012 00:46:41 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=61#comment-127</guid>
		<description>The code provided above is already handling that in the textdidchange.  When the search bar text box length is 0, it sets isFiltered to False.  Then it reloads the tableview.</description>
		<content:encoded><![CDATA[<p>The code provided above is already handling that in the textdidchange.  When the search bar text box length is 0, it sets isFiltered to False.  Then it reloads the tableview.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iOS Quick Tip: Filtering a UITableView with a search bar by Ed</title>
		<link>http://code-ninja.org/blog/2012/01/08/ios-quick-tip-filtering-a-uitableview-with-a-search-bar/#comment-126</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Sat, 05 May 2012 00:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=61#comment-126</guid>
		<description>-(void) searchBarSearchButtonClicked:(UISearchBar *)searchBar
{
    [searchBar resignFirstResponder];
}</description>
		<content:encoded><![CDATA[<p>-(void) searchBarSearchButtonClicked:(UISearchBar *)searchBar<br />
{<br />
    [searchBar resignFirstResponder];<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iOS Quick Tip: Filtering a UITableView with a search bar by Amro</title>
		<link>http://code-ninja.org/blog/2012/01/08/ios-quick-tip-filtering-a-uitableview-with-a-search-bar/#comment-124</link>
		<dc:creator>Amro</dc:creator>
		<pubDate>Sun, 29 Apr 2012 13:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=61#comment-124</guid>
		<description>Hi thanks alot for this tutorial it was exactly what I was looking for and I have a question how can I remove the keyboard when I hit search ? I know I should use the [searchBar resignFirstResponder]; but where should I put it ? 

Another question is it possible to return the main list if the user deleted whats inside the search bar ?? 

Again Thx alot for this tutorial</description>
		<content:encoded><![CDATA[<p>Hi thanks alot for this tutorial it was exactly what I was looking for and I have a question how can I remove the keyboard when I hit search ? I know I should use the [searchBar resignFirstResponder]; but where should I put it ? </p>
<p>Another question is it possible to return the main list if the user deleted whats inside the search bar ?? </p>
<p>Again Thx alot for this tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iOS Quick Tips &#8211; Fading in a UIView with a transparent background, but not transparent contents by Marty Dill</title>
		<link>http://code-ninja.org/blog/2012/04/05/ios-quick-tips-fading-in-a-uiview-with-a-transparent-background-but-not-transparent-contents/#comment-123</link>
		<dc:creator>Marty Dill</dc:creator>
		<pubDate>Sat, 28 Apr 2012 18:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=241#comment-123</guid>
		<description>Hey Jeff, thanks for the fantastic feedback!

#1 - good catch! I missed the part in the docs about block-based animation being the recommended method. I will have to switch over to them. I am still new to blocks, but they seem like pretty much the same thing as lambdas or anonymous methods in .NET, so they do make quite a bit of sense.

#2 - Thanks for the code snippet; I plugged it into my demo project and it had exactly the effect I was looking for.

And thanks for the demo project, it really helped to wrap my brain around the view hierarchy/alpha relationship! Having a visual tool to demonstrate it was a huge help.

Cheers!</description>
		<content:encoded><![CDATA[<p>Hey Jeff, thanks for the fantastic feedback!</p>
<p>#1 &#8211; good catch! I missed the part in the docs about block-based animation being the recommended method. I will have to switch over to them. I am still new to blocks, but they seem like pretty much the same thing as lambdas or anonymous methods in .NET, so they do make quite a bit of sense.</p>
<p>#2 &#8211; Thanks for the code snippet; I plugged it into my demo project and it had exactly the effect I was looking for.</p>
<p>And thanks for the demo project, it really helped to wrap my brain around the view hierarchy/alpha relationship! Having a visual tool to demonstrate it was a huge help.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iOS Quick Tips &#8211; Fading in a UIView with a transparent background, but not transparent contents by Jeff</title>
		<link>http://code-ninja.org/blog/2012/04/05/ios-quick-tips-fading-in-a-uiview-with-a-transparent-background-but-not-transparent-contents/#comment-122</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Thu, 26 Apr 2012 18:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://code-ninja.org/?p=241#comment-122</guid>
		<description>OK, I made a little project to help explain. Here it is:

http://dl.dropbox.com/u/3903183/AlphaTest.zip</description>
		<content:encoded><![CDATA[<p>OK, I made a little project to help explain. Here it is:</p>
<p><a href="http://dl.dropbox.com/u/3903183/AlphaTest.zip" rel="nofollow">http://dl.dropbox.com/u/3903183/AlphaTest.zip</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

