<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My tech blog diary</title>
	<atom:link href="http://mytechblogdiary.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mytechblogdiary.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 11 Dec 2009 09:53:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mytechblogdiary.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My tech blog diary</title>
		<link>http://mytechblogdiary.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mytechblogdiary.wordpress.com/osd.xml" title="My tech blog diary" />
	<atom:link rel='hub' href='http://mytechblogdiary.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to download YT videos as MP4</title>
		<link>http://mytechblogdiary.wordpress.com/2009/12/11/how-to-download-youtube-videos-as-mp4/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/12/11/how-to-download-youtube-videos-as-mp4/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 09:43:54 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=98</guid>
		<description><![CDATA[python yt-dl.py "http://www.yt.com/watch?v=&#60;id_goes_here&#62;" --format 18 --best-quality Replace &#8220;yt&#8221; for you favorite video provider&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=98&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>python yt-dl.py "http://www.yt.com/watch?v=&lt;id_goes_here&gt;" --format 18 --best-quality</pre>
<p>Replace &#8220;yt&#8221; for you favorite video provider&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=98&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/12/11/how-to-download-youtube-videos-as-mp4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom button in navigation bar</title>
		<link>http://mytechblogdiary.wordpress.com/2009/11/08/custom-button-in-navigation-bar/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/11/08/custom-button-in-navigation-bar/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 01:10:14 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=95</guid>
		<description><![CDATA[How to create a &#8220;Settings&#8221; right bar button (only text). UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithTitle:@"Settings" style:UIBarButtonItemStylePlain target:self action:NULL]; self.navigationItem.rightBarButtonItem = item; [item release]; &#8220;action&#8221; has not been set in the example. For more details see the &#8220;Using Custom Buttons and Views as Navigation Items&#8221; section of the &#8220;View Controller Programming Guide for iPhone OS&#8221;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=95&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to create a &#8220;Settings&#8221; right bar button (only text).</p>
<p><code>UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithTitle:@"Settings" style:UIBarButtonItemStylePlain target:self action:NULL];<br />
self.navigationItem.rightBarButtonItem = item;<br />
[item release];</code></p>
<p>&#8220;action&#8221; has not been set in the example.</p>
<p>For more details see the &#8220;Using Custom Buttons and Views as Navigation Items&#8221; section of the &#8220;View Controller Programming Guide for iPhone OS&#8221;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=95&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/11/08/custom-button-in-navigation-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
		<item>
		<title>How to identify a text field</title>
		<link>http://mytechblogdiary.wordpress.com/2009/11/04/how-to-identify-a-text-field/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/11/04/how-to-identify-a-text-field/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 00:01:38 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=89</guid>
		<description><![CDATA[How do you identify a textfield if several can be received at &#8220;- (BOOL)textFieldShouldReturn:(UITextField *)textField&#8221;? I don&#8217;t know how good it is but I did the following (I used the placeholder that the textfields have): - (BOOL)textFieldShouldReturn:(UITextField *)textField { if ([[textField placeholder] isEqualToString:@&#8221;Title&#8221;]) { [textField resignFirstResponder]; [notesTextField becomeFirstResponder]; } else if ([[textField placeholder] isEqualToString:@&#8221;Notes&#8221;]) { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=89&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How do you identify a textfield if several can be received at &#8220;- (BOOL)textFieldShouldReturn:(UITextField *)textField&#8221;?</p>
<p>I don&#8217;t know how good it is but I did the following (I used the placeholder that the textfields have):</p>
<p>- (BOOL)textFieldShouldReturn:(UITextField *)textField {<br />
if ([[textField placeholder] isEqualToString:@&#8221;Title&#8221;]) {<br />
[textField resignFirstResponder];<br />
[notesTextField becomeFirstResponder];<br />
}<br />
else if ([[textField placeholder] isEqualToString:@&#8221;Notes&#8221;]) {<br />
[textField resignFirstResponder];<br />
}<br />
return YES;<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=89&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/11/04/how-to-identify-a-text-field/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
		<item>
		<title>NavigationBar application howto</title>
		<link>http://mytechblogdiary.wordpress.com/2009/11/03/navigationbar-application-how-to/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/11/03/navigationbar-application-how-to/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 23:55:10 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=86</guid>
		<description><![CDATA[The easiest way is to start with the appropriate template: File -&#62; New project -&#62; Application -&#62; Navigation-based Application That will generate the app delegate and a RootViewController. The RootViewController includes a table but it can be removed and replaced by a view. Then the superclass has to be changed to UIViewController, and the File&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=86&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The easiest way is to start with the appropriate template:</p>
<ul>
<li>File -&gt; New project -&gt; Application -&gt; Navigation-based Application</li>
</ul>
<p>That will generate the app delegate and a RootViewController. The RootViewController includes a table but it can be removed and replaced by a view. Then the superclass has to be changed to UIViewController, and the File&#8217;s owner &#8220;view&#8221; outlet needs to be connected to the view.</p>
<p>Check that everything works.</p>
<p>RootViewController&#8217;s view will be the main screen of the application. In order to be accurate add a &#8220;Navigation Bar&#8221; as &#8220;Top Bar&#8221; in the &#8220;Simulated Interface Elements&#8221; of the view attributes.</p>
<p>Now we will generate another view and we will navigate to it.</p>
<p>To generate another view go to File -&gt; New File -&gt; Cocoa Touch Class -&gt; UIViewController subclass. Make sure that you select &#8220;With XIB for user interface&#8221; and &#8220;Also create XxxViewController.h&#8221;.</p>
<p>To be able to navigate to that new view we can add a toolbar in the RootViewController&#8217;s view with a bar button. You can change the bar button identifier to &#8220;Add&#8221; to get a &#8220;+&#8221; symbol on it. Then you need to declare an action:</p>
<ul>
<li>- (IBAction)newItem:(id)sender;</li>
</ul>
<p>And implement it:</p>
<ul>
<li>- (IBAction)newItem:(id)sender {<br />
XxxViewController *newView = [[XxxViewController alloc] initWithNibName:@&#8221;XxxViewController&#8221; bundle:[NSBundle mainBundle]];<br />
[self.navigationController pushViewController:(UIViewController *)newView animated:YES];<br />
[newView release];<br />
}</li>
</ul>
<p>You will need to import the &#8220;XxxViewController.h&#8221;. Also, link the action (&#8220;newItem&#8221;) with the bar button in Interface Builder.</p>
<p>The action will create the view controller for the second view and it will be pushed to the navigation controller. In order to get an automatic button to get back to the root view controller, the root view controller needs to have a title. Include in its &#8220;- (void)viewDidLoad&#8221; the following:</p>
<ul>
<li>self.title = @&#8221;Items&#8221;;</li>
</ul>
<p>You should be able now to use the button to go to the new view controller and the back button (&#8220;Items&#8221;) to go back to the root view controller.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=86&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/11/03/navigationbar-application-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
		<item>
		<title>Running the Clang Static Analyzer</title>
		<link>http://mytechblogdiary.wordpress.com/2009/11/02/running-the-clang-static-analyzer/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/11/02/running-the-clang-static-analyzer/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 22:44:48 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=79</guid>
		<description><![CDATA[How to: Clean build in Xcode first From the command line in your project directory (Clang has to be included in $PATH first): scan-build -k -V xcodebuild -configuration Debug -sdk iphonesimulator3.1 Results open up in Safari when completed If your test says that the output folder has been deleted because it is empty: Make sure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=79&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to:</p>
<ul>
<li>Clean build in Xcode first</li>
<li>From the command line in your project directory (Clang has to be included in $PATH first): scan-build -k -V xcodebuild -configuration Debug -sdk iphonesimulator3.1</li>
<li>Results open up in Safari when completed</li>
</ul>
<p>If your test says that the output folder has been deleted because it is empty:</p>
<ul>
<li>Make sure that you include a bug (check step 5 at <a href="http://gregorykaiser.wordpress.com/2009/05/10/getting-clang-to-work-hopefully/">this</a> other post)</li>
<li>Clean from Xcode again</li>
<li>Run scan-build again</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=79&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/11/02/running-the-clang-static-analyzer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
		<item>
		<title>UiTextField and resignFirstResponder.</title>
		<link>http://mytechblogdiary.wordpress.com/2009/11/02/uitextfield-and-resignfirstresponder/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/11/02/uitextfield-and-resignfirstresponder/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 22:22:57 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=77</guid>
		<description><![CDATA[Quick reminder on how to hide keyboard when the user hits the &#8220;return&#8221; key. You just need to set the view controller as the delegate of the text field (it has to conform the UiTextFieldProtocol). Then call the resignFirstResponder method of the text field in the &#8220;(BOOL)textFieldShouldReturn:(UITextField *)textField&#8221; call. Check this for a more detailed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=77&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Quick reminder on how to hide keyboard when the user hits the &#8220;return&#8221; key.</p>
<p>You just need to set the view controller as the delegate of the text field (it has to conform the UiTextFieldProtocol). Then call the resignFirstResponder method of the text field in the &#8220;(BOOL)textFieldShouldReturn:(UITextField *)textField&#8221; call.</p>
<p>Check <a href="http://stackoverflow.com/questions/684579/uitextfield-and-resignfirstresponder">this</a> for a more detailed explanation and implementation code.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=77&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/11/02/uitextfield-and-resignfirstresponder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
		<item>
		<title>Deactivate iPhone&#8217;s voicemail (movistar.es)</title>
		<link>http://mytechblogdiary.wordpress.com/2009/10/30/deactivate-iphones-voicemail-movistar-es/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/10/30/deactivate-iphones-voicemail-movistar-es/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 23:05:28 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=74</guid>
		<description><![CDATA[Call 537 and select option 4.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=74&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Call 537 and select option 4.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=74&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/10/30/deactivate-iphones-voicemail-movistar-es/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
		<item>
		<title>Memory management common mistakes</title>
		<link>http://mytechblogdiary.wordpress.com/2009/10/15/iphone-programming-memory-management-common-mistakes/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/10/15/iphone-programming-memory-management-common-mistakes/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 07:19:34 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=70</guid>
		<description><![CDATA[I&#8217;m still starting with iPhone development and I was stuck with two very basic things, errors that will crash the application with no clue in the console: Do not release &#8220;autorelease&#8221; objects. Remember that instances created using class methods that start with the name of the class are autoreleased. Using &#8220;release&#8221; on those will create [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=70&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m still starting with iPhone development and I was stuck with two very basic things, errors that will crash the application with no clue in the console:</p>
<ul>
<li><strong>Do not release &#8220;autorelease&#8221; objects</strong>. Remember that instances created using class methods that start with the name of the class are autoreleased. Using &#8220;release&#8221; on those will create problems. You only need to take care of the instances created using alloc+init, from memory management point of view</li>
<li>When <strong>working with properties it is very important to access the property using &#8220;self&#8221;</strong>, otherwise it will be accessed directly and automatic expected behaviors like &#8220;retain&#8221; or &#8220;copy&#8221; will not be there</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=70&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/10/15/iphone-programming-memory-management-common-mistakes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
		<item>
		<title>Routing table basic operations in Mac</title>
		<link>http://mytechblogdiary.wordpress.com/2009/10/04/routing-table-basic-operations-in-mac/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/10/04/routing-table-basic-operations-in-mac/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 15:39:43 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=67</guid>
		<description><![CDATA[To see the routing table: netstat -r To add a new route: Example: sudo route add -net 192.168.24 192.168.26.17<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=67&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To see the routing table:</p>
<ul>
<li>netstat -r</li>
</ul>
<p>To add a new route:</p>
<ul>
<li>Example: sudo route add -net 192.168.24 192.168.26.17</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=67&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/10/04/routing-table-basic-operations-in-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
		<item>
		<title>Mercurial in (Snow) Leopard: UTF-8 error</title>
		<link>http://mytechblogdiary.wordpress.com/2009/10/04/mercurial-in-snow-leopard-utf-8-error/</link>
		<comments>http://mytechblogdiary.wordpress.com/2009/10/04/mercurial-in-snow-leopard-utf-8-error/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 15:26:28 +0000</pubDate>
		<dc:creator>ricafeal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mytechblogdiary.wordpress.com/?p=64</guid>
		<description><![CDATA[It happened to me in Leopard and Snow Leopard. Trying to use Mercurial (hg) from the terminal I got an error complaining about UTF-8. The solution is to include something like the following two lines in .profile (&#8220;es_ES&#8221; part corresponds to my locale, use yours): export LC_ALL=es_ES.UTF-8 export LANG=es_ES.UTF-8<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=64&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It happened to me in Leopard and Snow Leopard.</p>
<p>Trying to use Mercurial (hg) from the terminal I got an error complaining about UTF-8.</p>
<p>The solution is to include something like the following two lines in .profile (&#8220;es_ES&#8221; part corresponds to my locale, use yours):</p>
<p style="font:12px Arial;margin:0;"><em>export LC_ALL=es_ES.UTF-8</em></p>
<p style="font:12px Arial;margin:0;"><em>export LANG=es_ES.UTF-8</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mytechblogdiary.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mytechblogdiary.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mytechblogdiary.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mytechblogdiary.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mytechblogdiary.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mytechblogdiary.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mytechblogdiary.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mytechblogdiary.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mytechblogdiary.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mytechblogdiary.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mytechblogdiary.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mytechblogdiary.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mytechblogdiary.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mytechblogdiary.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mytechblogdiary.wordpress.com&amp;blog=4813359&amp;post=64&amp;subd=mytechblogdiary&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mytechblogdiary.wordpress.com/2009/10/04/mercurial-in-snow-leopard-utf-8-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e163382622bcbe8c67dc78712c6ab1b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ricafeal</media:title>
		</media:content>
	</item>
	</channel>
</rss>
