<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Piyush Hari</title>
	<atom:link href="http://piyushhari.com/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://piyushhari.com/wordpress</link>
	<description></description>
	<lastBuildDate>Wed, 18 Apr 2012 08:36:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>REST API &#8211; Testing</title>
		<link>http://piyushhari.com/wordpress/2012/04/18/rest-api-testing/</link>
		<comments>http://piyushhari.com/wordpress/2012/04/18/rest-api-testing/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 08:36:08 +0000</pubDate>
		<dc:creator>Piyush</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://piyushhari.com/wordpress/?p=245</guid>
		<description><![CDATA[So, you&#8217;ve written a REST API that handles the following request methods:
GET
POST
DELETE
PUT
Now, you want to test them. I&#8217;ve found two great clients in order to test your REST APIs.
POSTER (for users of firefox)  AND Simple REST Client
Happy RESTing !
]]></description>
			<content:encoded><![CDATA[<p>So, you&#8217;ve written a REST API that handles the following request methods:<br />
GET<br />
POST<br />
DELETE<br />
PUT</p>
<p>Now, you want to test them. I&#8217;ve found two great clients in order to test your REST APIs.</p>
<p><a title="POSTER" href="https://addons.mozilla.org/en-US/firefox/addon/poster/">POSTER</a> (for users of firefox)  AND <a title="Simple REST Client" href="https://chrome.google.com/webstore/detail/fhjcajmcbmldlhcimfajhfbgofnpcjmb">Simple REST Client</a></p>
<p>Happy RESTing !</p>
]]></content:encoded>
			<wfw:commentRss>http://piyushhari.com/wordpress/2012/04/18/rest-api-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mad World by Gary Jules &#8211; in my voice and on my guitar!</title>
		<link>http://piyushhari.com/wordpress/2012/03/31/mad-world-by-gary-jules-in-my-voice-and-on-my-guitar/</link>
		<comments>http://piyushhari.com/wordpress/2012/03/31/mad-world-by-gary-jules-in-my-voice-and-on-my-guitar/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 21:39:05 +0000</pubDate>
		<dc:creator>Piyush</dc:creator>
				<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://piyushhari.com/wordpress/?p=231</guid>
		<description><![CDATA[
A bright Saturday afternoon and I can&#8217;t stop humming this song. Time to record !
[mp3player config=fmp_jw_widget_config.xml playlist=fmp_jw_widget_playlist-xml.xml]
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="Rate Race..." src="http://sketchedout.files.wordpress.com/2007/11/ratrace.jpg" alt="" width="450" height="311" /></p>
<p>A bright Saturday afternoon and I can&#8217;t stop humming this song. Time to record !</p>
<p>[mp3player config=fmp_jw_widget_config.xml playlist=fmp_jw_widget_playlist-xml.xml]</p>
]]></content:encoded>
			<wfw:commentRss>http://piyushhari.com/wordpress/2012/03/31/mad-world-by-gary-jules-in-my-voice-and-on-my-guitar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Expected Expression&#8221; when declaring and initializing NSInteger in a switch statement</title>
		<link>http://piyushhari.com/wordpress/2011/11/20/expected-expression-when-declaring-and-initializing-nsinteger-in-a-switch-statement/</link>
		<comments>http://piyushhari.com/wordpress/2011/11/20/expected-expression-when-declaring-and-initializing-nsinteger-in-a-switch-statement/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 13:07:38 +0000</pubDate>
		<dc:creator>Piyush</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[Expected Expression]]></category>
		<category><![CDATA[NSInteger]]></category>
		<category><![CDATA[Parse Error]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://piyushhari.com/wordpress/?p=227</guid>
		<description><![CDATA[I ran across a strange problem today. Tried something like this:
switch(controlVariable) {
case 0:
NSInteger x = kSomeConstant;
 // some other code&#8230;
 break;
case 1:
 // &#8230;
default:
 // &#8230;
}
And to my surprise, XCode complained saying that &#8220;Parse error: Expected Expression&#8221;. Upon googling, this is what I found.
So, the solution is to put some statement before you initialize NSInteger. ]]></description>
			<content:encoded><![CDATA[<p>I ran across a strange problem today. Tried something like this:</p>
<p><span>switch</span><span>(</span>controlVariable<span>)</span> <span>{</span></p>
<p><span>case</span> <span>0</span>:</p>
<p>NSInteger x = kSomeConstant;</p>
<p><span> </span>// some other code&#8230;</p>
<p><span> </span>break<span>;</span></p>
<p><span>case</span> <span>1</span>:</p>
<p><span> </span>// &#8230;</p>
<p>default<span>:</span></p>
<p><span> </span>// &#8230;</p>
<p>}</p>
<p>And to my surprise, XCode complained saying that &#8220;Parse error: Expected Expression&#8221;. Upon googling, <a href="http://aralbalkan.com/3598">this</a> is what I found.</p>
<p>So, the solution is to put some statement before you initialize NSInteger. If there is no statement that logically fit, you can simply insert a semi-colon &#8220;;&#8221; before declaring and initializing the integer.</p>
<p>switch(controlVariable) {</p>
<p>case 0:</p>
<p>;</p>
<p>NSInteger x = kSomeConstant;</p>
<p>// some other code&#8230;</p>
<p>break;</p>
<p>case 1:</p>
<p>// &#8230;</p>
<p>default:</p>
<p>// &#8230;</p>
<p>}</p>
]]></content:encoded>
			<wfw:commentRss>http://piyushhari.com/wordpress/2011/11/20/expected-expression-when-declaring-and-initializing-nsinteger-in-a-switch-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Tip on programming Table Views</title>
		<link>http://piyushhari.com/wordpress/2011/09/21/a-tip-on-programming-table-views/</link>
		<comments>http://piyushhari.com/wordpress/2011/09/21/a-tip-on-programming-table-views/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 04:05:09 +0000</pubDate>
		<dc:creator>Piyush</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://piyushhari.com/wordpress/?p=223</guid>
		<description><![CDATA[I found a great post on organizing your code while writing code around Table View/Table View Delegate. It details how one can organize sections and rows by making them enums instead of using numbers all over the delegate methods. See for yourself:
Click the post here.
]]></description>
			<content:encoded><![CDATA[<p>I found a great post on organizing your code while writing code around Table View/Table View Delegate. It details how one can organize sections and rows by making them enums instead of using numbers all over the delegate methods. See for yourself:</p>
<p>Click the post <a href="http://speirs.org/blog/2008/10/11/a-technique-for-using-uitableview-and-retaining-your-sanity.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://piyushhari.com/wordpress/2011/09/21/a-tip-on-programming-table-views/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solved: putpkt: write failed: Broken pipe</title>
		<link>http://piyushhari.com/wordpress/2011/09/13/solved-putpkt-write-failed-broken-pipe/</link>
		<comments>http://piyushhari.com/wordpress/2011/09/13/solved-putpkt-write-failed-broken-pipe/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 05:16:27 +0000</pubDate>
		<dc:creator>Piyush</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://piyushhari.com/wordpress/?p=221</guid>
		<description><![CDATA[If you see this problem, try following these steps.
a) quit Xcode (and the GDB it is running)b) unplug devicec) delete app from device (hold icon until the ‘X’ appears)d) turn off devicee) turn on devicef) plug in device (if itunes wants to sync, let it finish)g) launch Xcode
]]></description>
			<content:encoded><![CDATA[<p>If you see this problem, try following these steps.</p>
<p>a) quit Xcode (and the GDB it is running)<br style="padding: 0px; margin: 0px;" />b) unplug device<br style="padding: 0px; margin: 0px;" />c) delete app from device (hold icon until the ‘X’ appears)<br style="padding: 0px; margin: 0px;" />d) turn off device<br style="padding: 0px; margin: 0px;" />e) turn on device<br style="padding: 0px; margin: 0px;" />f) plug in device (if itunes wants to sync, let it finish)<br style="padding: 0px; margin: 0px;" />g) launch Xcode</p>
]]></content:encoded>
			<wfw:commentRss>http://piyushhari.com/wordpress/2011/09/13/solved-putpkt-write-failed-broken-pipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

