<?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 The Flying Jalapeño Lives</title>
	<atom:link href="http://www.theflyingjalapenolives.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theflyingjalapenolives.com</link>
	<description>injuries sustained turning indy</description>
	<lastBuildDate>Sun, 24 Jan 2010 00:41:02 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on iPhone code snippet: Phone number formatter by Omar</title>
		<link>http://www.theflyingjalapenolives.com/2009/05/iphone-code-snippet-phone-number-formatter/comment-page-1/#comment-338</link>
		<dc:creator>Omar</dc:creator>
		<pubDate>Sun, 24 Jan 2010 00:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=172#comment-338</guid>
		<description>This works like a champ.

So to complete the help for someone who is newbie:

Where you see:
[localText fullRange]
i.e the use of &quot;fullRange&quot;,
Just replace that with:
NSMakeRange(0,[cname length])
Assuming cname is delcared like this below:
NSMutableString *cname = [NSMutableString stringWithString:str];

Hope that additional info make save you an additional 1 minute :-)</description>
		<content:encoded><![CDATA[<p>This works like a champ.</p>
<p>So to complete the help for someone who is newbie:</p>
<p>Where you see:<br />
[localText fullRange]<br />
i.e the use of &#8220;fullRange&#8221;,<br />
Just replace that with:<br />
NSMakeRange(0,[cname length])<br />
Assuming cname is delcared like this below:<br />
NSMutableString *cname = [NSMutableString stringWithString:str];</p>
<p>Hope that additional info make save you an additional 1 minute <img src='http://www.theflyingjalapenolives.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone OS 4 and Backgound Tasks or &#8220;Why We Don&#8217;t Have a Calendar API&#8221; by Jimbob</title>
		<link>http://www.theflyingjalapenolives.com/2010/01/iphone-os-4-and-backgound-tasks-or-why-we-dont-have-a-calendar-api/comment-page-1/#comment-330</link>
		<dc:creator>Jimbob</dc:creator>
		<pubDate>Thu, 21 Jan 2010 15:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=635#comment-330</guid>
		<description>Apps running in the background don&#039;t cause battery problems if they&#039;re in suspended animation, just waiting to be woken by a timer.  They&#039;ll cause memory problems, though, since the iPhone doesn&#039;t have paging (yet).

Local push notifications would be very good for a bunch of apps that implement some sort of calendar function.  I can imagine both local and network push notifications to be used to wake up apps and let them execute code, but that would likely be abused with all kinds of polling anti-patterns, negating any improvements to battery life.

The solution depends on what you want to do.  If you want faster app switching, the best solution is to implement paging and suspend running apps to disk.  If you want background activity (such as location tracking or music scrobbling) apps should be allowed to spawn small background daemons with severely limited memory and no GUI.</description>
		<content:encoded><![CDATA[<p>Apps running in the background don&#8217;t cause battery problems if they&#8217;re in suspended animation, just waiting to be woken by a timer.  They&#8217;ll cause memory problems, though, since the iPhone doesn&#8217;t have paging (yet).</p>
<p>Local push notifications would be very good for a bunch of apps that implement some sort of calendar function.  I can imagine both local and network push notifications to be used to wake up apps and let them execute code, but that would likely be abused with all kinds of polling anti-patterns, negating any improvements to battery life.</p>
<p>The solution depends on what you want to do.  If you want faster app switching, the best solution is to implement paging and suspend running apps to disk.  If you want background activity (such as location tracking or music scrobbling) apps should be allowed to spawn small background daemons with severely limited memory and no GUI.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone OS 4 and Backgound Tasks or &#8220;Why We Don&#8217;t Have a Calendar API&#8221; by Nathan de Vries</title>
		<link>http://www.theflyingjalapenolives.com/2010/01/iphone-os-4-and-backgound-tasks-or-why-we-dont-have-a-calendar-api/comment-page-1/#comment-327</link>
		<dc:creator>Nathan de Vries</dc:creator>
		<pubDate>Thu, 21 Jan 2010 05:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=635#comment-327</guid>
		<description>Overloading the user-facing calendar as a system-level scheduler seems unlikely given that launchd does exactly what you&#039;re trying to do. Something along the lines of SMJobBless() in the ServiceManagement framework is more likely to be exposed.</description>
		<content:encoded><![CDATA[<p>Overloading the user-facing calendar as a system-level scheduler seems unlikely given that launchd does exactly what you&#8217;re trying to do. Something along the lines of SMJobBless() in the ServiceManagement framework is more likely to be exposed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone OS 4 and Backgound Tasks or &#8220;Why We Don&#8217;t Have a Calendar API&#8221; by Corey</title>
		<link>http://www.theflyingjalapenolives.com/2010/01/iphone-os-4-and-backgound-tasks-or-why-we-dont-have-a-calendar-api/comment-page-1/#comment-324</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Wed, 20 Jan 2010 15:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=635#comment-324</guid>
		<description>@Jimbob My guess is probably off here, at least technology wise. I don&#039;t think that Apple would allow multiple apps to run as background processes. That would be a huge battery drain. Thats it woud be nice to have the Calendar App (or some other process) handle all &quot;local push notifications&quot;. Which is similar to how the Push Notifications work now, minus the ability to execute code.



@mare I actually doubt they would allow executing of arbitrary code as well. But if they wanted a simple solution that gives developers more flexibility without sacrificing (too much) battery life, they do have the pieces in place. There is some chatter about &quot;Calendar Syncing&quot;, I have to assume that the Calendar API is coming in the next major OS release.</description>
		<content:encoded><![CDATA[<p>@Jimbob My guess is probably off here, at least technology wise. I don&#8217;t think that Apple would allow multiple apps to run as background processes. That would be a huge battery drain. Thats it woud be nice to have the Calendar App (or some other process) handle all &#8220;local push notifications&#8221;. Which is similar to how the Push Notifications work now, minus the ability to execute code.</p>
<p>@mare I actually doubt they would allow executing of arbitrary code as well. But if they wanted a simple solution that gives developers more flexibility without sacrificing (too much) battery life, they do have the pieces in place. There is some chatter about &#8220;Calendar Syncing&#8221;, I have to assume that the Calendar API is coming in the next major OS release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone OS 4 and Backgound Tasks or &#8220;Why We Don&#8217;t Have a Calendar API&#8221; by mare</title>
		<link>http://www.theflyingjalapenolives.com/2010/01/iphone-os-4-and-backgound-tasks-or-why-we-dont-have-a-calendar-api/comment-page-1/#comment-322</link>
		<dc:creator>mare</dc:creator>
		<pubDate>Wed, 20 Jan 2010 14:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=635#comment-322</guid>
		<description>I agree this would be cool. But I&#039;m sure if Apple will enable such functionality it will be a bit more limited. I think they&#039;ll never allow you to send some code to be executed by another process. If your code crashes (because it is just wrong/malformed or because of a fringe case that didn&#039;t show up in debug/review) it&#039;ll crash an Apple process. Apple doesn&#039;t like that, even though that process will be re-spawned.

But they might very well at some point in the future (soon?!) provide a limited API where you can show a message at a certain time/date.</description>
		<content:encoded><![CDATA[<p>I agree this would be cool. But I&#8217;m sure if Apple will enable such functionality it will be a bit more limited. I think they&#8217;ll never allow you to send some code to be executed by another process. If your code crashes (because it is just wrong/malformed or because of a fringe case that didn&#8217;t show up in debug/review) it&#8217;ll crash an Apple process. Apple doesn&#8217;t like that, even though that process will be re-spawned.</p>
<p>But they might very well at some point in the future (soon?!) provide a limited API where you can show a message at a certain time/date.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone OS 4 and Backgound Tasks or &#8220;Why We Don&#8217;t Have a Calendar API&#8221; by Jimbob</title>
		<link>http://www.theflyingjalapenolives.com/2010/01/iphone-os-4-and-backgound-tasks-or-why-we-dont-have-a-calendar-api/comment-page-1/#comment-321</link>
		<dc:creator>Jimbob</dc:creator>
		<pubDate>Wed, 20 Jan 2010 10:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=635#comment-321</guid>
		<description>Two things: Blocks can&#039;t be passed to another address space and don&#039;t survive termination of the process.  If the process is kept alive, NSTimer can be used for this, anyway.  No reason to mess with exposed calendar entries.</description>
		<content:encoded><![CDATA[<p>Two things: Blocks can&#8217;t be passed to another address space and don&#8217;t survive termination of the process.  If the process is kept alive, NSTimer can be used for this, anyway.  No reason to mess with exposed calendar entries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My Greatest iPhone Development Resource by The Flying Jalapeno Lives &#187; Development Links: Redux</title>
		<link>http://www.theflyingjalapenolives.com/2009/05/my-greatest-iphone-development-resource/comment-page-1/#comment-289</link>
		<dc:creator>The Flying Jalapeno Lives &#187; Development Links: Redux</dc:creator>
		<pubDate>Mon, 28 Dec 2009 10:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=256#comment-289</guid>
		<description>[...] This is an update to my previous post [...]</description>
		<content:encoded><![CDATA[<p>[...] This is an update to my previous post [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My Greatest iPhone Development Resource by 2009-12-24 学习记录</title>
		<link>http://www.theflyingjalapenolives.com/2009/05/my-greatest-iphone-development-resource/comment-page-1/#comment-286</link>
		<dc:creator>2009-12-24 学习记录</dc:creator>
		<pubDate>Thu, 24 Dec 2009 04:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=256#comment-286</guid>
		<description>[...] http://boredzo.org/opensourcelinks/byauthor.html My Greatest iPhone Development Resource [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://boredzo.org/opensourcelinks/byauthor.html" rel="nofollow">http://boredzo.org/opensourcelinks/byauthor.html</a> My Greatest iPhone Development Resource [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source iPhone: Resources by harry</title>
		<link>http://www.theflyingjalapenolives.com/2009/11/open-source-iphone-resources/comment-page-1/#comment-275</link>
		<dc:creator>harry</dc:creator>
		<pubDate>Sun, 06 Dec 2009 02:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=606#comment-275</guid>
		<description>This lookss kewllll</description>
		<content:encoded><![CDATA[<p>This lookss kewllll</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Obscure iPhone: viewDidLoad and loadNibNamed by Corey</title>
		<link>http://www.theflyingjalapenolives.com/2009/11/obscure-iphone-viewdidload-and-loadnibnamed/comment-page-1/#comment-270</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Wed, 18 Nov 2009 16:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=598#comment-270</guid>
		<description>Interesting. 

As far as I know, loadNibNamed does not create the view controller, the view controller is already instantiated. The view controller being the top level object of the nib is simply a proxy (file&#039;s owner).
It simply unarchives the nib, places those objects in memory, and connects the outlets.

You can of course instantiate a second view controller within a nib, if it is not the top level object. I wonder if this is the way you are accomplishing this?

In that case, I would fully expect viewDidLoad to be called.

In my case, I am loading the nib within the init method of top level view controller. This may in fact be the cause of the problem.</description>
		<content:encoded><![CDATA[<p>Interesting. </p>
<p>As far as I know, loadNibNamed does not create the view controller, the view controller is already instantiated. The view controller being the top level object of the nib is simply a proxy (file&#8217;s owner).<br />
It simply unarchives the nib, places those objects in memory, and connects the outlets.</p>
<p>You can of course instantiate a second view controller within a nib, if it is not the top level object. I wonder if this is the way you are accomplishing this?</p>
<p>In that case, I would fully expect viewDidLoad to be called.</p>
<p>In my case, I am loading the nib within the init method of top level view controller. This may in fact be the cause of the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Obscure iPhone: viewDidLoad and loadNibNamed by Noel@snappytouch.com</title>
		<link>http://www.theflyingjalapenolives.com/2009/11/obscure-iphone-viewdidload-and-loadnibnamed/comment-page-1/#comment-268</link>
		<dc:creator>Noel@snappytouch.com</dc:creator>
		<pubDate>Wed, 18 Nov 2009 14:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=598#comment-268</guid>
		<description>I load nibs like that all the time, and viewDidLoad will get called... whenever the view is loaded. What&#039;s happening is that loadNibNamed just creates the view controller, but the main view won&#039;t be loaded until you access it.

So for example, calling loadNibNamed followed by adding its view to some hierarchy will cause the view to be loaded and viewDidLoad to be called.

But yes, you have to watch out for that because otherwise it&#039;s possible to do operations on the view controller before the viewDidLoad function is called and can lead to unexpected results (I&#039;ve had my share of bugs because of that early on).</description>
		<content:encoded><![CDATA[<p>I load nibs like that all the time, and viewDidLoad will get called&#8230; whenever the view is loaded. What&#8217;s happening is that loadNibNamed just creates the view controller, but the main view won&#8217;t be loaded until you access it.</p>
<p>So for example, calling loadNibNamed followed by adding its view to some hierarchy will cause the view to be loaded and viewDidLoad to be called.</p>
<p>But yes, you have to watch out for that because otherwise it&#8217;s possible to do operations on the view controller before the viewDidLoad function is called and can lead to unexpected results (I&#8217;ve had my share of bugs because of that early on).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Make it easier! &#8211; Dterm by Florian</title>
		<link>http://www.theflyingjalapenolives.com/2009/09/make-it-easier-dterm/comment-page-1/#comment-245</link>
		<dc:creator>Florian</dc:creator>
		<pubDate>Thu, 24 Sep 2009 14:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=590#comment-245</guid>
		<description>Wow, never heard about that tool. I love it :)</description>
		<content:encoded><![CDATA[<p>Wow, never heard about that tool. I love it <img src='http://www.theflyingjalapenolives.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
