<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Hamid Alipour on Web Development &#38; Programming - Coding Recipes</title>
	<link>http://codingrecipes.com</link>
	<description></description>
	<lastBuildDate>Thu, 12 Jan 2012 20:08:09 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.1.1" -->

	<item>
		<title>Animation Curves and Tweening; Understanding Animation Curves</title>
		<description><![CDATA[These equations are by Robert Penner, you can find a document here that explains this in much greater detail: http://www.robertpenner.com/easing/ The correct linear tween function looks like this: float linear_tween&#40;float t, float start, float end&#41; &#123; if &#40;t &#62; 1.0f&#41; return end; return t * end + &#40;1.0f - t&#41; * start; &#125; t is [...]]]></description>
		<link>http://codingrecipes.com/animation-curves-and-tweening-understanding-animation-curves</link>
			</item>
	<item>
		<title>JavaScript: setTimeout doesn&#8217;t work in IE</title>
		<description><![CDATA[The only way this could happen is if you try to send extra arguments, so you can&#8217;t do: setTimeout(&#8216;func()&#8217;, 1000, param); you have to manage with something like: setTimeout(&#8216;func(&#8220;&#8216; + arg + &#8216;&#8221;)&#8217;, 1000);]]></description>
		<link>http://codingrecipes.com/javascript-settimeout-doesnt-work-in-ie</link>
			</item>
	<item>
		<title>iPhone: libpng error: CgBI: unknown critical chunk</title>
		<description><![CDATA[If you get this error when trying your app on the device, you have PNG compression on in Xcode, in Xcode 4 goto &#8220;Build Settings&#8221; search for PNG in the search box and turn off PNG compression&#8230;]]></description>
		<link>http://codingrecipes.com/iphone-libpng-error-cgbi-unknown-critical-chunk</link>
			</item>
	<item>
		<title>Cocoa App Doesn&#8217;t Show Up In Activity Monitor</title>
		<description><![CDATA[This was happening because I accidentally deleted &#8220;Bundle Display Name&#8221; from my info.plist&#8230;..]]></description>
		<link>http://codingrecipes.com/cocoa-app-doesnt-show-up-in-activity-monitor</link>
			</item>
	<item>
		<title>Popen+ a Bidirectional Popen Implementation With Ability to Access PID and Kill/Terminate Processes</title>
		<description><![CDATA[On Github: https://github.com/Codingrecipes/Popen+ This is a little popen implementation which will make it easier to kill processes and will give you access to the PID of the process, I don&#8217;t know why they didn&#8217;t do this in popen but I&#8217;m sure they had good reasons because those guys are way too smart&#8230; popen_plus.h: /* ** [...]]]></description>
		<link>http://codingrecipes.com/popen-a-bidirectional-popen-implementation-with-ability-to-access-pid-and-kill-terminate-processes</link>
			</item>
	<item>
		<title>NSNotificationCenter Is Not Thread Safe</title>
		<description><![CDATA[If you have to send notifications from secondary threads, then you might have noticed that your app crashes randomly and it&#8217;s unstable, the way to get around this is to have a method that sends the notification and use a second method to call that method using performSelectorOnMainThread like so: - &#40;void&#41;doPostStatusNotification:&#40;NSString *&#41;message &#123; &#91;&#91;NSNotificationCenter [...]]]></description>
		<link>http://codingrecipes.com/nsnotificationcenter-is-not-thread-safe</link>
			</item>
	<item>
		<title>A Nicer Way Of Updating NSTableView Without A NSTimer</title>
		<description><![CDATA[I used to use timers to update my table views, but you know that the timer runs in the same thread that you create it and it attaches to the same runloop so that&#8217;s not very nice and it&#8217;s silly to make a thread for it so naturally you might end up making a timer [...]]]></description>
		<link>http://codingrecipes.com/a-nicer-way-of-updating-nstableview-without-a-nstimer</link>
			</item>
	<item>
		<title>NSTableView reloadData Hangs And Doesn&#8217;t Work</title>
		<description><![CDATA[This happened to me and everything was working, the table was linked up properly to it&#8217;s delegate and datasource but I discovered that I was calling reloadData too many times, so this problem could be caused by two things: 1 &#8211; If you call reloadData too many times, it messes up some internal thing and [...]]]></description>
		<link>http://codingrecipes.com/nstableview-reloaddata-hangs-and-doesnt-work</link>
			</item>
	<item>
		<title>SQLite And The Problem Of Storing Long Long Integers</title>
		<description><![CDATA[Recently, I was trying to store a very large integer value in a SQLite column, it didn&#8217;t matter wether I used INTEGER or UNSIGNED BIG INT, SQLite rounded it for me and I was left with an integer value that wasn&#8217;t even close to what I needed. So one solution was to just use a [...]]]></description>
		<link>http://codingrecipes.com/sqlite-and-the-problem-of-storing-long-long-integers</link>
			</item>
	<item>
		<title>Objective-C Capitalizing First Word In a String</title>
		<description><![CDATA[[string stringByReplacingCharactersInRange:NSMakeRange(0,1) withString:[[string substringToIndex:1] uppercaseString]];]]></description>
		<link>http://codingrecipes.com/objective-c-capitalizing-first-word-in-a-string</link>
			</item>
</channel>
</rss>

