<?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>Kernel Panic &#187; Source Code</title>
	<atom:link href="http://blog.epelaez.net/tag/source-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.epelaez.net</link>
	<description>~Keep It Simple</description>
	<lastBuildDate>Wed, 30 Jun 2010 17:11:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>UIColor Additions</title>
		<link>http://blog.epelaez.net/03/uicolor-additions/</link>
		<comments>http://blog.epelaez.net/03/uicolor-additions/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 01:59:35 +0000</pubDate>
		<dc:creator>Pelaez</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[ObjC]]></category>

		<guid isPermaLink="false">http://blog.epelaez.net/?p=789</guid>
		<description><![CDATA[Important Edit: Please redownload the file, as there were some important changes (that&#8217;s what happen when you don&#8217;t test it before ) Here are some small but useful additions to the UIColor class in UIKit. This is what it does: Adds a method to get a color from a Hex string (with either this #FFFFFF [...]]]></description>
			<content:encoded><![CDATA[<p>Important Edit: Please redownload the file, as there were some important changes (that&#8217;s what happen when you don&#8217;t test it before <img src='http://blog.epelaez.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<p>Here are some small but useful additions to the UIColor class in UIKit.<span id="more-789"></span></p>
<p>This is what it does:</p>
<ul>
<li>Adds a method to get a color from a Hex string (with either this #FFFFFF or this FFFFFF format).</li>
<li>Adds a method to get a color from an Hex string with custom alpha value.</li>
<li>Adds a method to get a color from a selector string.</li>
</ul>
<p>Here&#8217;s the download:</p>
<p><table style="border: 1px solid #CCC;" cellpadding="3" width="100%">
  <tr>
    <td width="35" style="vertical-align:top;">
      <a href="http://blog.epelaez.net/?file_id=22"><img src="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif" alt="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif"></a>
    </td>
    <td>
      <b>File:</b> <a href="http://blog.epelaez.net/?file_id=22">UIColor Additions</a> <small>(1.95KB)</small><br />
      <b>added:</b> 19/03/2010 <br />
    </td>
  </tr>
</table></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.epelaez.net/03/uicolor-additions/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.epelaez.net/03/uicolor-additions/&amp;title=UIColor+Additions" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.epelaez.net/03/uicolor-additions/&amp;title=UIColor+Additions" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.epelaez.net/03/uicolor-additions/&amp;t=UIColor+Additions" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22UIColor%20Additions%22&amp;body=Link: http://blog.epelaez.net/03/uicolor-additions/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Important%20Edit%3A%20Please%20redownload%20the%20file%2C%20as%20there%20were%20some%20important%20changes%20%28that%27s%20what%20happen%20when%20you%20don%27t%20test%20it%20before%20%3AP%29%0D%0A%0D%0AHere%20are%20some%20small%20but%20useful%20additions%20to%20the%20UIColor%20class%20in%20UIKit.%0D%0A%0D%0AThis%20is%20what%20it%20does%3A%0D%0A%0D%0A%09Adds%20a%20method%20to%20get%20a%20color%20from%20a%20Hex%20string%20%28with%20either%20t" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=UIColor+Additions+-+http://b2l.me/wrxsd&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.epelaez.net/03/uicolor-additions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No &#8220;Slide to&#8230;&#8221; text</title>
		<link>http://blog.epelaez.net/03/no-slide-to-text/</link>
		<comments>http://blog.epelaez.net/03/no-slide-to-text/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 16:20:45 +0000</pubDate>
		<dc:creator>Pelaez</dc:creator>
				<category><![CDATA[Release]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[Mobile Substrate]]></category>

		<guid isPermaLink="false">http://blog.epelaez.net/?p=776</guid>
		<description><![CDATA[This is a small dylib I made the other day. Turns out, you can edit the &#8220;Slide to Unlock&#8221; and &#8220;Slide to Answer&#8221; strings easily, but I didn&#8217;t find a way to get rid of the &#8220;Slide to view&#8221; that shows when a push notification arrives. So I made this small Mobile Substrate extension that [...]]]></description>
			<content:encoded><![CDATA[<p>This is a small dylib I made the other day.</p>
<p>Turns out, you can edit the &#8220;Slide to Unlock&#8221; and &#8220;Slide to Answer&#8221; strings easily, but I didn&#8217;t find a way to get rid of the &#8220;Slide to view&#8221; that shows when a push notification arrives.</p>
<p>So I made this small Mobile Substrate extension that just doesn&#8217;t create that label.<span id="more-776"></span></p>
<p>It&#8217;s really small and doesn&#8217;t allocate any extra objects. It even avoids the OS to allocate one.</p>
<p>To install, just download the dylib and put it in /Library/MobileSubstrate/DynamicLibraries/ and set permissions to 755.</p>
<p>The source code is also available, it was made with <a href="http://bit.ly/ccbpJv">Skylar&#8217;s template</a>. And you&#8217;ll need the Springboard and mobile substrate headers to compile it.</p>
<p>Downloads:</p>
<p><table style="border: 1px solid #CCC;" cellpadding="3" width="100%">
  <tr>
    <td width="35" style="vertical-align:top;">
      <a href="http://blog.epelaez.net/?file_id=20"><img src="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif" alt="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif"></a>
    </td>
    <td>
      <b>File:</b> <a href="http://blog.epelaez.net/?file_id=20">NoSlideText.dylib</a> <small>(15.17KB)</small><br />
      <b>added:</b> 15/03/2010 <br />
    </td>
  </tr>
</table></p>
<p><table style="border: 1px solid #CCC;" cellpadding="3" width="100%">
  <tr>
    <td width="35" style="vertical-align:top;">
      <a href="http://blog.epelaez.net/?file_id=21"><img src="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif" alt="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif"></a>
    </td>
    <td>
      <b>File:</b> <a href="http://blog.epelaez.net/?file_id=21">NoSlideText Source</a> <small>(18.33KB)</small><br />
      <b>added:</b> 15/03/2010 <br />
    </td>
  </tr>
</table></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.epelaez.net/03/no-slide-to-text/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.epelaez.net/03/no-slide-to-text/&amp;title=No+%22Slide+to...%22+text" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.epelaez.net/03/no-slide-to-text/&amp;title=No+%22Slide+to...%22+text" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.epelaez.net/03/no-slide-to-text/&amp;t=No+%22Slide+to...%22+text" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22No%20%22Slide%20to...%22%20text%22&amp;body=Link: http://blog.epelaez.net/03/no-slide-to-text/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A This%20is%20a%20small%20dylib%20I%20made%20the%20other%20day.%0D%0A%0D%0ATurns%20out%2C%20you%20can%20edit%20the%20%22Slide%20to%20Unlock%22%20and%20%22Slide%20to%20Answer%22%20strings%20easily%2C%20but%20I%20didn%27t%20find%20a%20way%20to%20get%20rid%20of%20the%20%22Slide%20to%20view%22%20that%20shows%20when%20a%20push%20notification%20arrives.%0D%0A%0D%0ASo%20I%20made%20this%20small%20Mobile%20Substrate%20extension%20that%20just%20doesn" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=No+%22Slide+to...%22+text+-+http://b2l.me/wrxsy&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.epelaez.net/03/no-slide-to-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improved Logging</title>
		<link>http://blog.epelaez.net/10/improved-logging/</link>
		<comments>http://blog.epelaez.net/10/improved-logging/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 05:58:08 +0000</pubDate>
		<dc:creator>Pelaez</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[NSLog]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://blog.epelaez.net/?p=609</guid>
		<description><![CDATA[This is an improved logging technique I developed in the last couple of days. It&#8217;s not to debug an specific problem, but to get a general idea of where your bug is, and if there are no bugs, to know the stack of methods called. It&#8217;s quite simple, but it does require some work to [...]]]></description>
			<content:encoded><![CDATA[<p>This is an improved logging technique I developed in the last couple of days. It&#8217;s not to debug an specific problem, but to get a general idea of where your bug is, and if there are no bugs, to know the stack of methods called.</p>
<p>It&#8217;s quite simple, but it does require some work to implement. If you have a big project, it could take some time to implement.</p>
<p><span id="more-609"></span></p>
<h3><strong>Instructions</strong>:</h3>
<p>First, get <a href="http://github.com/Pelaez/Kernel-Panic-Classes/tree/master/Classes/KPLogHelper/" target="_blank">this class</a>, and add it to your project.</p>
<p>Then, in your prefix file, add the following lines:</p>
<div class="codecolorer-container objc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:400px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6e371a;">#import &quot;KPLogHelper.h&quot;</span><br />
<span style="color: #6e371a;">#define  LOG_IN NSLog(@&quot;XX:%@ %s&quot;,[KPLogHelper indent:1], __PRETTY_FUNCTION__);</span><br />
<span style="color: #6e371a;">#define LOG_OUT NSLog(@&quot;XX:%@ %s&quot;,[KPLogHelper indent:-1], __PRETTY_FUNCTION__);</span><br />
<span style="color: #6e371a;">#define  LOG_NO NSLog(@&quot;XX:%@ %s&quot;,[KPLogHelper indent:0], __PRETTY_FUNCTION__);</span><br />
<span style="color: #6e371a;">#define &nbsp;LOG(x) NSLog(@&quot;iPC:%@ %@&quot;, [KPLogHelper indent:0], x);</span></div></td></tr></tbody></table></div>
<p>The XX should be two characters to filter your logs, it&#8217;s not necesary, but it&#8217;s useful. You can find more about that <a href="http://blog.epelaez.net/08/nslog-and-syslog/">here</a>.</p>
<p>And finally, at the beginning of every method you want to log, add <code class="codecolorer objc twitlight"><span class="objc">LOG_IN</span></code>, at the end of the method, and before any returns, add <code class="codecolorer objc twitlight"><span class="objc">LOG_OUT</span></code>.</p>
<p>If it&#8217;s a really small method and you don&#8217;t want to know where it starts and when it ends, but only when it happened, just add <code class="codecolorer objc twitlight"><span class="objc">LOG_NO</span></code>.</p>
<p>If you want to log with a custom string while respecting the indent level <code class="codecolorer objc twitlight"><span class="objc">LOG<span style="color: #002200;">&#40;</span><span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>here<span style="color: #002200;">&#41;</span></span></code>.</p>
<p>The result in the log will be a message when the method is called with an indent level, and the methods that are called before it ends will have an indentation level greater by one, then the indentation level will be reduced by one when the method ends.</p>
<p>It will look something like:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:400px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&gt;&gt;&gt; Method 1 signature //When the first method begins: LOG_IN<br />
&gt;&gt;&gt;&gt;&gt;&gt; Method 2 signature //When the second method is called by the 1st: LOG_ING<br />
====== Method 3 signature //When the 3rd method is called by 2nd: LOG_NO<br />
&lt;&lt;&lt;&lt;&lt;&lt; Method 2 Signature //When the second method returns: LOG_OUT<br />
&lt;&lt;&lt; Method 2 signature //When the first method returns: LOG_OUT</div></td></tr></tbody></table></div>
<p>To stop showing the log, just comment the methods so it looks like this:</p>
<div class="codecolorer-container objc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:400px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6e371a;">#define &nbsp;LOG_IN //NSLog(@&quot;XX:%@ %s&quot;,[KPLogHelper indent:1], __PRETTY_FUNCTION__);</span></div></td></tr></tbody></table></div>
<p>NOTE: Make sure you disable this logging before releasing you app, as it&#8217;s a little heavier than the standard logging (due to the calculations to make the indent) and will slow down your app.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.epelaez.net/10/improved-logging/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.epelaez.net/10/improved-logging/&amp;title=Improved+Logging" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.epelaez.net/10/improved-logging/&amp;title=Improved+Logging" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.epelaez.net/10/improved-logging/&amp;t=Improved+Logging" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Improved%20Logging%22&amp;body=Link: http://blog.epelaez.net/10/improved-logging/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A This%20is%20an%20improved%20logging%20technique%20I%20developed%20in%20the%20last%20couple%20of%20days.%20It%27s%20not%20to%20debug%20an%20specific%20problem%2C%20but%20to%20get%20a%20general%20idea%20of%20where%20your%20bug%20is%2C%20and%20if%20there%20are%20no%20bugs%2C%20to%20know%20the%20stack%20of%20methods%20called.%0D%0A%0D%0AIt%27s%20quite%20simple%2C%20but%20it%20does%20require%20some%20work%20to%20implement.%20If%20you" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Improved+Logging+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.epelaez.net/10/improved-logging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shake To&#8230;</title>
		<link>http://blog.epelaez.net/10/shake-to/</link>
		<comments>http://blog.epelaez.net/10/shake-to/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 05:57:44 +0000</pubDate>
		<dc:creator>Pelaez</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Shake]]></category>

		<guid isPermaLink="false">http://blog.epelaez.net/?p=567</guid>
		<description><![CDATA[This is a class I made to detect shakes. It&#8217;s really simple, you just create an object, initialize it, set a delegate, and it will send messages to the delegate when the movement change is significant, then your object can do whatever you want, like refreshing info or whatever. Details: Detects side shakes. Has a [...]]]></description>
			<content:encoded><![CDATA[<p>This is a class I made to detect shakes. It&#8217;s really simple, you just create an object, initialize it, set a delegate, and it will send messages to the delegate when the movement change is significant, then your object can do whatever you want, like refreshing info or whatever.</p>
<p>Details:</p>
<ul>
<li>Detects side shakes.</li>
<li>Has a mechanism to avoid sending multiple messages for one long shake.</li>
<li>Sensitivity can be edited easily.</li>
<li>It has it&#8217;s protocol, so you don&#8217;t have to add new methods to your receiver&#8217;s interface.</li>
<li>It uses #ifndef&#8217;s so it can be imported several times without causing errors for having the same class multiple times.</li>
<li>Only one can be working at the time (activating a new one will deactivate the previous working one).</li>
</ul>
<p><span id="more-567"></span></p>
<p>You can get the class at my <a href="http://github.com/Pelaez/Kernel-Panic-Classes/tree/master/Classes/KPShakeDetection/" target="_blank">GitHub</a>.</p>
<p>It will be updated eventually.</p>
<p>If you see any error or anything wrong, please send me an e-mail!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.epelaez.net/10/shake-to/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.epelaez.net/10/shake-to/&amp;title=Shake+To..." rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.epelaez.net/10/shake-to/&amp;title=Shake+To..." rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.epelaez.net/10/shake-to/&amp;t=Shake+To..." rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Shake%20To...%22&amp;body=Link: http://blog.epelaez.net/10/shake-to/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A This%20is%20a%20class%20I%20made%20to%20detect%20shakes.%20It%27s%20really%20simple%2C%20you%20just%20create%20an%20object%2C%20initialize%20it%2C%20set%20a%20delegate%2C%20and%20it%20will%20send%20messages%20to%20the%20delegate%20when%20the%20movement%20change%20is%20significant%2C%20then%20your%20object%20can%20do%20whatever%20you%20want%2C%20like%20refreshing%20info%20or%20whatever.%0D%0A%0D%0ADetails%3A%0D%0A%0D%0A%09Detec" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Shake+To...+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.epelaez.net/10/shake-to/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SBS Toggles Source Code</title>
		<link>http://blog.epelaez.net/08/sbs-toggles-source-code/</link>
		<comments>http://blog.epelaez.net/08/sbs-toggles-source-code/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 01:15:08 +0000</pubDate>
		<dc:creator>Pelaez</dc:creator>
				<category><![CDATA[Source Code]]></category>
		<category><![CDATA[Toolchain]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[SBS Lockdown]]></category>
		<category><![CDATA[SBS Time]]></category>
		<category><![CDATA[SBSettings]]></category>

		<guid isPermaLink="false">http://blog.epelaez.net/?p=302</guid>
		<description><![CDATA[Here&#8217;s the source code for my last two binary releases. Source for the Lockdown Toggle: File: Lockdown Toggle Source (963B) added: 03/08/2009 Source for the Time Widget: File: Time View Source (2.27KB) added: 03/08/2009 Subscribe to the comments for this post? Share this on del.icio.us Digg this! Share this on Facebook Email this to a [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the source code for my last two binary releases.</p>
<h4>Source for the Lockdown Toggle:</h4>
<p><table style="border: 1px solid #CCC;" cellpadding="3" width="100%">
  <tr>
    <td width="35" style="vertical-align:top;">
      <a href="http://blog.epelaez.net/?file_id=12"><img src="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif" alt="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif"></a>
    </td>
    <td>
      <b>File:</b> <a href="http://blog.epelaez.net/?file_id=12">Lockdown Toggle Source</a> <small>(963B)</small><br />
      <b>added:</b> 03/08/2009 <br />
    </td>
  </tr>
</table></p>
<h4>Source for the Time Widget:</h4>
<p><table style="border: 1px solid #CCC;" cellpadding="3" width="100%">
  <tr>
    <td width="35" style="vertical-align:top;">
      <a href="http://blog.epelaez.net/?file_id=13"><img src="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif" alt="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif"></a>
    </td>
    <td>
      <b>File:</b> <a href="http://blog.epelaez.net/?file_id=13">Time View Source</a> <small>(2.27KB)</small><br />
      <b>added:</b> 03/08/2009 <br />
    </td>
  </tr>
</table></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.epelaez.net/08/sbs-toggles-source-code/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.epelaez.net/08/sbs-toggles-source-code/&amp;title=SBS+Toggles+Source+Code" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.epelaez.net/08/sbs-toggles-source-code/&amp;title=SBS+Toggles+Source+Code" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.epelaez.net/08/sbs-toggles-source-code/&amp;t=SBS+Toggles+Source+Code" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22SBS%20Toggles%20Source%20Code%22&amp;body=Link: http://blog.epelaez.net/08/sbs-toggles-source-code/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Here%27s%20the%20source%20code%20for%20my%20last%20two%20binary%20releases.%0D%0ASource%20for%20the%20Lockdown%20Toggle%3A%0D%0A%5Bdm%5D12%5B%2Fdm%5D%0D%0ASource%20for%20the%20Time%20Widget%3A%0D%0A%5Bdm%5D13%5B%2Fdm%5D" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=SBS+Toggles+Source+Code+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.epelaez.net/08/sbs-toggles-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SBSettings View template</title>
		<link>http://blog.epelaez.net/06/sbsettings-view-template/</link>
		<comments>http://blog.epelaez.net/06/sbsettings-view-template/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 22:08:15 +0000</pubDate>
		<dc:creator>Pelaez</dc:creator>
				<category><![CDATA[Source Code]]></category>
		<category><![CDATA[Toolchain]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[SBS Template]]></category>
		<category><![CDATA[SBSettings]]></category>

		<guid isPermaLink="false">http://blog.epelaez.net/?p=249</guid>
		<description><![CDATA[Here&#8217;s a template I made for an SBSettings toggle that consists of a simple view. It uses SBSettings&#8217; images so it matches your SBSettings theme. This one uses the small image, like the one in the dock if you have less than 5 icons. You can change it fairly easy by just changing the name [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a template I made for an SBSettings toggle that consists of a simple view.</p>
<p>It uses SBSettings&#8217; images so it matches your SBSettings theme.</p>
<p>This one uses the small image, like the one in the dock if you have less than 5 icons. You can change it fairly easy by just changing the name of the image it uses, and the size of the frames to the the size of the new image.<span id="more-249"></span></p>
<p>(If you have doubts on how to use it, or how to compile it, you probably aren&#8217;t ready to use it)</p>
<p>Once it&#8217;s compiled it, put the Toggle.dylib in /var/mobile/Library/SBSettings/Toggles/TOGGLENAME, then make a 60&#215;60 png, and put it in /var/mobile/Library/SBSettings/Themes/YOURTHEME/TOGGLENAME, you have to put it twice, named on.png and off.png.</p>
<p>Enjoy!</p>
<p><table style="border: 1px solid #CCC;" cellpadding="3" width="100%">
  <tr>
    <td width="35" style="vertical-align:top;">
      <a href="http://blog.epelaez.net/?file_id=9"><img src="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif" alt="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif"></a>
    </td>
    <td>
      <b>File:</b> <a href="http://blog.epelaez.net/?file_id=9">SBSTemplate</a> <small>(2.76KB)</small><br />
      <b>added:</b> 07/06/2009 <br />
    </td>
  </tr>
</table></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.epelaez.net/06/sbsettings-view-template/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.epelaez.net/06/sbsettings-view-template/&amp;title=SBSettings+View+template" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.epelaez.net/06/sbsettings-view-template/&amp;title=SBSettings+View+template" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.epelaez.net/06/sbsettings-view-template/&amp;t=SBSettings+View+template" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22SBSettings%20View%20template%22&amp;body=Link: http://blog.epelaez.net/06/sbsettings-view-template/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Here%27s%20a%20template%20I%20made%20for%20an%20SBSettings%20toggle%20that%20consists%20of%20a%20simple%20view.%0D%0A%0D%0AIt%20uses%20SBSettings%27%20images%20so%20it%20matches%20your%20SBSettings%20theme.%0D%0A%0D%0AThis%20one%20uses%20the%20small%20image%2C%20like%20the%20one%20in%20the%20dock%20if%20you%20have%20less%20than%205%20icons.%20You%20can%20change%20it%20fairly%20easy%20by%20just%20changing%20the%20name%20of%20th" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=SBSettings+View+template+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.epelaez.net/06/sbsettings-view-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple App Template</title>
		<link>http://blog.epelaez.net/06/simple-app-template/</link>
		<comments>http://blog.epelaez.net/06/simple-app-template/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 12:52:16 +0000</pubDate>
		<dc:creator>Pelaez</dc:creator>
				<category><![CDATA[Source Code]]></category>
		<category><![CDATA[Toolchain]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[ObjC]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://blog.epelaez.net/?p=245</guid>
		<description><![CDATA[I decided I needed a template App for the toolchain, so here it is. This is a template app that will make an empty app that does nothing but put your screen white. It&#8217;s made from a UIApplication subclass, a UIViewController subclass and a UIView subclass, so it&#8217;s pretty much ready for you to code [...]]]></description>
			<content:encoded><![CDATA[<p>I decided I needed a template App for the toolchain, so here it is.</p>
<p>This is a template app that will make an empty app that does nothing but put your screen white. It&#8217;s made from a UIApplication subclass, a UIViewController subclass and a UIView subclass, so it&#8217;s pretty much ready for you to code your own view, add your own methods and turn it into something.</p>
<p><table style="border: 1px solid #CCC;" cellpadding="3" width="100%">
  <tr>
    <td width="35" style="vertical-align:top;">
      <a href="http://blog.epelaez.net/?file_id=8"><img src="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif" alt="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif"></a>
    </td>
    <td>
      <b>File:</b> <a href="http://blog.epelaez.net/?file_id=8">App Template</a> <small>(3.31KB)</small><br />
      <b>added:</b> 06/06/2009 <br />
    </td>
  </tr>
</table></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.epelaez.net/06/simple-app-template/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.epelaez.net/06/simple-app-template/&amp;title=Simple+App+Template" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.epelaez.net/06/simple-app-template/&amp;title=Simple+App+Template" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.epelaez.net/06/simple-app-template/&amp;t=Simple+App+Template" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Simple%20App%20Template%22&amp;body=Link: http://blog.epelaez.net/06/simple-app-template/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20decided%20I%20needed%20a%20template%20App%20for%20the%20toolchain%2C%20so%20here%20it%20is.%0D%0A%0D%0AThis%20is%20a%20template%20app%20that%20will%20make%20an%20empty%20app%20that%20does%20nothing%20but%20put%20your%20screen%20white.%20It%27s%20made%20from%20a%20UIApplication%20subclass%2C%20a%20UIViewController%20subclass%20and%20a%20UIView%20subclass%2C%20so%20it%27s%20pretty%20much%20ready%20for%20you%20to%20code" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Simple+App+Template+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.epelaez.net/06/simple-app-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
