<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Ziray Studio Labs</title>
	<atom:link href="http://www.mikeziray.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikeziray.com</link>
	<description>Life, Logged Through Light</description>
	<lastBuildDate>Sun, 05 Feb 2012 20:35:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by Luc Juggery</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-612</link>
		<dc:creator>Luc Juggery</dc:creator>
		<pubDate>Sun, 05 Feb 2012 20:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-612</guid>
		<description>Hello again,

I think I figured it out, I had a bad UIWindow / MainViewController as I though. But do not hesitate to tell if you see something strange in the gist :)

Cheers,
Luc</description>
		<content:encoded><![CDATA[<p>Hello again,</p>
<p>I think I figured it out, I had a bad UIWindow / MainViewController as I though. But do not hesitate to tell if you see something strange in the gist <img src='http://www.mikeziray.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Luc</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by Luc Juggery</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-611</link>
		<dc:creator>Luc Juggery</dc:creator>
		<pubDate>Sun, 05 Feb 2012 09:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-611</guid>
		<description>Thanks Mike, that clarifies things.

In my current iOS app project, I am doing the switch of views (login / tabbar) in the app&#039;s delegate, I know that is not clean and that really bugs me :)
Reading your article I started changing this to use a MainViewController object because your approach is really clean (thanks).

I have a problem though as I do not see my views anymore (black screen) when is app is ran, there is a link I probably missed somewhere :)

I do not have any MainWindow.xib file so I&#039;ve done the linking programmatically (pretty user this is this part causing problem).  I&#039;ve written the main stuff in this gist: https://gist.github.com/1744267

Would you have any idea of what is missing ? 
Thanks a lot for your help.

Luc</description>
		<content:encoded><![CDATA[<p>Thanks Mike, that clarifies things.</p>
<p>In my current iOS app project, I am doing the switch of views (login / tabbar) in the app&#8217;s delegate, I know that is not clean and that really bugs me <img src='http://www.mikeziray.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Reading your article I started changing this to use a MainViewController object because your approach is really clean (thanks).</p>
<p>I have a problem though as I do not see my views anymore (black screen) when is app is ran, there is a link I probably missed somewhere <img src='http://www.mikeziray.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I do not have any MainWindow.xib file so I&#8217;ve done the linking programmatically (pretty user this is this part causing problem).  I&#8217;ve written the main stuff in this gist: <a href="https://gist.github.com/1744267" rel="nofollow">https://gist.github.com/1744267</a></p>
<p>Would you have any idea of what is missing ?<br />
Thanks a lot for your help.</p>
<p>Luc</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by Mike</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-610</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 03 Feb 2012 18:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-610</guid>
		<description>A sign up view is just another view on the stack of other views. For usability reasons, I would include it as a subview or subcontroller of the login view. This is because it&#039;s likely a new user would not be logged in, thus shown the login view. The login view would then have a link to a signup view. The login view would thus be responsible for login and signup. I would probably break this out into a UserAccountController that will handle communication with the server to handle login/authentication, signup and any other account tasks you need to handle. Under the UserAccountController you could have your ViewControllers to handle display and control of the appropriate views (Login, Signup, Edit Account).

I hope that made sense. Thanks for the comment!</description>
		<content:encoded><![CDATA[<p>A sign up view is just another view on the stack of other views. For usability reasons, I would include it as a subview or subcontroller of the login view. This is because it&#8217;s likely a new user would not be logged in, thus shown the login view. The login view would then have a link to a signup view. The login view would thus be responsible for login and signup. I would probably break this out into a UserAccountController that will handle communication with the server to handle login/authentication, signup and any other account tasks you need to handle. Under the UserAccountController you could have your ViewControllers to handle display and control of the appropriate views (Login, Signup, Edit Account).</p>
<p>I hope that made sense. Thanks for the comment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by Mike</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-609</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 03 Feb 2012 18:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-609</guid>
		<description>The Window object itself is the one and only Window in your application. The Window needs a root view to begin displaying content and maintains a pointer to its root view. The tab bar controller&#039;s view needs to be that root view to work properly, in some cases. However, your Root View Controller class can set the Window&#039;s view to any other view it has access to. So, you use your root view controller to handle what view becomes the Window&#039;s view and swap it out according to your needs.

Great question! I hope that cleared it up for you.</description>
		<content:encoded><![CDATA[<p>The Window object itself is the one and only Window in your application. The Window needs a root view to begin displaying content and maintains a pointer to its root view. The tab bar controller&#8217;s view needs to be that root view to work properly, in some cases. However, your Root View Controller class can set the Window&#8217;s view to any other view it has access to. So, you use your root view controller to handle what view becomes the Window&#8217;s view and swap it out according to your needs.</p>
<p>Great question! I hope that cleared it up for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by Mike</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-608</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 03 Feb 2012 18:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-608</guid>
		<description>Storyboards affect it a lot. In the method I used, I usually add my Views and ViewControllers programmatically. I actually don&#039;t do a whole lot in Interface Builder unless it&#039;s an actual and complex interface. If you want to use the new Storyboards method, you can setup your storyboard to handle the different view controllers, depending on the organization of your storyboards. However, that&#039;s up to you and you can always choose to do anything programmatically to get things up and running and then switch over or vice versa.</description>
		<content:encoded><![CDATA[<p>Storyboards affect it a lot. In the method I used, I usually add my Views and ViewControllers programmatically. I actually don&#8217;t do a whole lot in Interface Builder unless it&#8217;s an actual and complex interface. If you want to use the new Storyboards method, you can setup your storyboard to handle the different view controllers, depending on the organization of your storyboards. However, that&#8217;s up to you and you can always choose to do anything programmatically to get things up and running and then switch over or vice versa.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by Luc Juggery</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-607</link>
		<dc:creator>Luc Juggery</dc:creator>
		<pubDate>Fri, 03 Feb 2012 08:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-607</guid>
		<description>Hello Mike,
just another question.. if you were to add a signup view, how would you add them in the picture ?
Thanks again,
Luc</description>
		<content:encoded><![CDATA[<p>Hello Mike,<br />
just another question.. if you were to add a signup view, how would you add them in the picture ?<br />
Thanks again,<br />
Luc</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by Luc</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-605</link>
		<dc:creator>Luc</dc:creator>
		<pubDate>Thu, 02 Feb 2012 14:58:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-605</guid>
		<description>thanks for this great tutorial. I managed to have the loginView / tabBArcontroller switch in my apps but I was sure I did not do it in a right way. Stacking the views makes things a lot clearer.

One thing I&#039;m still not confortable with is the rootViewController object, I do not really understand when you said (talking about the tabBarcontroller) &quot;It needs to be the root view of your window, but that doesn’t mean it needs to be the root view controller.&quot;. Would do you mean ?

thanks, that&#039;s great stuff,
Luc</description>
		<content:encoded><![CDATA[<p>thanks for this great tutorial. I managed to have the loginView / tabBArcontroller switch in my apps but I was sure I did not do it in a right way. Stacking the views makes things a lot clearer.</p>
<p>One thing I&#8217;m still not confortable with is the rootViewController object, I do not really understand when you said (talking about the tabBarcontroller) &#8220;It needs to be the root view of your window, but that doesn’t mean it needs to be the root view controller.&#8221;. Would do you mean ?</p>
<p>thanks, that&#8217;s great stuff,<br />
Luc</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by LM</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-604</link>
		<dc:creator>LM</dc:creator>
		<pubDate>Wed, 01 Feb 2012 08:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-604</guid>
		<description>how do storyboards affect this</description>
		<content:encoded><![CDATA[<p>how do storyboards affect this</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Corona Game Template in Lua by Jolxy</title>
		<link>http://www.mikeziray.com/2010/06/27/corona-game-template-in-lua/comment-page-1/#comment-603</link>
		<dc:creator>Jolxy</dc:creator>
		<pubDate>Wed, 18 Jan 2012 12:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=1048#comment-603</guid>
		<description>Hi I find it very use full but i noticed you forget the buil, and the config  file out of your frame work template.

j</description>
		<content:encoded><![CDATA[<p>Hi I find it very use full but i noticed you forget the buil, and the config  file out of your frame work template.</p>
<p>j</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What&#8217;s Wrong with this Scuba Diver? by Some Blowhard</title>
		<link>http://www.mikeziray.com/2009/07/31/whats-wrong-with-this-scuba-diver/comment-page-1/#comment-517</link>
		<dc:creator>Some Blowhard</dc:creator>
		<pubDate>Fri, 14 Oct 2011 11:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=667#comment-517</guid>
		<description>Right on, I didnt want to come off as condesending in my observations, but is fustrating when seeing this sort of thingfor me aswell. A picture is worth a thousand words. Your pic is a perfect &quot;dont do what donnie dont does&quot; moment. As a rescue diver, I single these sorts out when I dive, as they stick out like a sore thumb. Wrestling your primary out of your mouth when hes OOA, or shooting straight to the top when it all goes bad, is inevitable. I suspect his buddy was not visable in the uncropped version of the photo either? Possably wandered off to do his or own thing somewhere else? That was my other point about the buddy thing. To be fair to this guy, it might not be all his fault. Here in FL you could trip and fall on three or four splash and dash dive shops almost anywhere. For $100 they toss em in the water and give them a c-card when they get out, about a dozen at a time, mass producing like a chineese nic-nac factory. He might just be a victim of casual indifference. Just my $0.02.</description>
		<content:encoded><![CDATA[<p>Right on, I didnt want to come off as condesending in my observations, but is fustrating when seeing this sort of thingfor me aswell. A picture is worth a thousand words. Your pic is a perfect &#8220;dont do what donnie dont does&#8221; moment. As a rescue diver, I single these sorts out when I dive, as they stick out like a sore thumb. Wrestling your primary out of your mouth when hes OOA, or shooting straight to the top when it all goes bad, is inevitable. I suspect his buddy was not visable in the uncropped version of the photo either? Possably wandered off to do his or own thing somewhere else? That was my other point about the buddy thing. To be fair to this guy, it might not be all his fault. Here in FL you could trip and fall on three or four splash and dash dive shops almost anywhere. For $100 they toss em in the water and give them a c-card when they get out, about a dozen at a time, mass producing like a chineese nic-nac factory. He might just be a victim of casual indifference. Just my $0.02.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What&#8217;s Wrong with this Scuba Diver? by Mike</title>
		<link>http://www.mikeziray.com/2009/07/31/whats-wrong-with-this-scuba-diver/comment-page-1/#comment-516</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 10 Oct 2011 03:28:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=667#comment-516</guid>
		<description>I took this photo of this diver who was from another dive boat in the area. I looked over, couldn&#039;t believe what I saw and snapped a picture because no one would ever believe how bad this guy was. There&#039;s a lot wrong with his dive buddy too, you&#039;re definitely right about that!</description>
		<content:encoded><![CDATA[<p>I took this photo of this diver who was from another dive boat in the area. I looked over, couldn&#8217;t believe what I saw and snapped a picture because no one would ever believe how bad this guy was. There&#8217;s a lot wrong with his dive buddy too, you&#8217;re definitely right about that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What&#8217;s Wrong with this Scuba Diver? by Some Blowhard</title>
		<link>http://www.mikeziray.com/2009/07/31/whats-wrong-with-this-scuba-diver/comment-page-1/#comment-515</link>
		<dc:creator>Some Blowhard</dc:creator>
		<pubDate>Sun, 09 Oct 2011 20:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=667#comment-515</guid>
		<description>Let&#039;s see, Hmmm...., Where to start? Well, the most glaring problem must be the clueless location of the alt 2nd stage. &quot;Walking&quot; across the bottom is a bad idea, stiring up lots of silt, limiting vis. The &quot;walking&quot; effect being demonstrated is probably a by-product of over weighting/ poor bouyancy control. Tank retainer strap appears to be coming loose, so the allready low hanging tank slipping out of his bcd could be exciting for him. I will assume his &quot;buddy&quot; is the one taking the picture, as opposed to a passer-by. His buddy not sorting out his kit is a problem. Prehaps he&#039;s drunk?, I don&#039;t know.</description>
		<content:encoded><![CDATA[<p>Let&#8217;s see, Hmmm&#8230;., Where to start? Well, the most glaring problem must be the clueless location of the alt 2nd stage. &#8220;Walking&#8221; across the bottom is a bad idea, stiring up lots of silt, limiting vis. The &#8220;walking&#8221; effect being demonstrated is probably a by-product of over weighting/ poor bouyancy control. Tank retainer strap appears to be coming loose, so the allready low hanging tank slipping out of his bcd could be exciting for him. I will assume his &#8220;buddy&#8221; is the one taking the picture, as opposed to a passer-by. His buddy not sorting out his kit is a problem. Prehaps he&#8217;s drunk?, I don&#8217;t know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Mouse Cursor for ActionScript 3 by polo90</title>
		<link>http://www.mikeziray.com/2009/05/30/custom-mouse-cursor-for-actionscript-3/comment-page-1/#comment-508</link>
		<dc:creator>polo90</dc:creator>
		<pubDate>Sun, 28 Aug 2011 06:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=623#comment-508</guid>
		<description>I got some issue with the custom cursor and the arrow blinking together. After reading your example, It turned out that mouseChildren = false is critical to stop that blinking. 

thanks man!</description>
		<content:encoded><![CDATA[<p>I got some issue with the custom cursor and the arrow blinking together. After reading your example, It turned out that mouseChildren = false is critical to stop that blinking. </p>
<p>thanks man!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Photos of the Week &#8211; Summer by Photo Challenge: Summer Holiday &#171; Sam Knapp</title>
		<link>http://www.mikeziray.com/2010/07/07/photos-of-the-week-summer/comment-page-1/#comment-495</link>
		<dc:creator>Photo Challenge: Summer Holiday &#171; Sam Knapp</dc:creator>
		<pubDate>Sat, 13 Aug 2011 01:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=1084#comment-495</guid>
		<description>[...] my sister and mother who live in the area. It was time well spent.  Here are Mike Ziray&#8217;s submissions.  If you have a Facebook account, here is our Facebook group.  #gallery-1 { margin: auto; } [...]</description>
		<content:encoded><![CDATA[<p>[...] my sister and mother who live in the area. It was time well spent.  Here are Mike Ziray&#8217;s submissions.  If you have a Facebook account, here is our Facebook group.  #gallery-1 { margin: auto; } [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Naming Conventions &#8211; Why Your Code Sucks by Mike</title>
		<link>http://www.mikeziray.com/2010/07/01/why-your-code-sucks-naming-conventions/comment-page-1/#comment-474</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 28 Jul 2011 21:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=1071#comment-474</guid>
		<description>I always appreciate people willing to disagree with me! You&#039;re right about that SDK that uses Lua. Out of curiousity, which one was that? I&#039;ve programmed a game in Lua, so I know the language, and I suppose what you&#039;re saying is, because it&#039;s not compiled and instead included with the app, the character count in the code matters. I&#039;m not sure why you&#039;d have that kind of restriction these days, so I&#039;m curious.

Also, I believe you&#039;re talking about the overhead of referencing and retrieving variables from encapsulated classes. If performance matters to you, there are ways to speed that up. One is to simply get a pointer to the object and store it locally, and another is to copy the data to a local variable and pass back the value when you&#039;re done.

OOP does have a slight overhead in exchange for better maintainability in your code. However, it doesn&#039;t matter how fast your code is if it&#039;s not maintainable or buggy. But there are plenty of software engineering concepts you can use to speed up your code without making it ugly and unmaintainable.

When you program in a large team, they all have coding practices that you must follow. This is nothing new, this is just my way of doing things for people who haven&#039;t been exposed to these concepts. So feel free to disagree, but each guideline is explained on why I use those methods.</description>
		<content:encoded><![CDATA[<p>I always appreciate people willing to disagree with me! You&#8217;re right about that SDK that uses Lua. Out of curiousity, which one was that? I&#8217;ve programmed a game in Lua, so I know the language, and I suppose what you&#8217;re saying is, because it&#8217;s not compiled and instead included with the app, the character count in the code matters. I&#8217;m not sure why you&#8217;d have that kind of restriction these days, so I&#8217;m curious.</p>
<p>Also, I believe you&#8217;re talking about the overhead of referencing and retrieving variables from encapsulated classes. If performance matters to you, there are ways to speed that up. One is to simply get a pointer to the object and store it locally, and another is to copy the data to a local variable and pass back the value when you&#8217;re done.</p>
<p>OOP does have a slight overhead in exchange for better maintainability in your code. However, it doesn&#8217;t matter how fast your code is if it&#8217;s not maintainable or buggy. But there are plenty of software engineering concepts you can use to speed up your code without making it ugly and unmaintainable.</p>
<p>When you program in a large team, they all have coding practices that you must follow. This is nothing new, this is just my way of doing things for people who haven&#8217;t been exposed to these concepts. So feel free to disagree, but each guideline is explained on why I use those methods.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

