<?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>Sat, 06 Mar 2010 19:14:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Our First Cozumel Dive by Cathy Owens</title>
		<link>http://www.mikeziray.com/2009/01/30/our-first-cozumel-dive/comment-page-1/#comment-133</link>
		<dc:creator>Cathy Owens</dc:creator>
		<pubDate>Sat, 06 Mar 2010 19:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/blog/?p=202#comment-133</guid>
		<description>Hi Ziray,  I stumbled on your scuba video when looking at Addy awards; thanks! Sam Knapp is my son-in-law and I think we may have met before at Italian class. I&#039;m trying to guess the Coz dive site - maybe Palancar caves? I&#039;ve got some video from Devil&#039;s Throat dive site there, but I forgot to turn off the red filter when using lights, so it&#039;s a bit reddish. Red filters really help under 20 feet but can be too much with video lights in a close environment like those tunnels. Underwater videography is an occasional hobby I enjoy too.</description>
		<content:encoded><![CDATA[<p>Hi Ziray,  I stumbled on your scuba video when looking at Addy awards; thanks! Sam Knapp is my son-in-law and I think we may have met before at Italian class. I&#8217;m trying to guess the Coz dive site &#8211; maybe Palancar caves? I&#8217;ve got some video from Devil&#8217;s Throat dive site there, but I forgot to turn off the red filter when using lights, so it&#8217;s a bit reddish. Red filters really help under 20 feet but can be too much with video lights in a close environment like those tunnels. Underwater videography is an occasional hobby I enjoy too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Mouse Cursor for ActionScript 3 by Mike</title>
		<link>http://www.mikeziray.com/2009/05/30/custom-mouse-cursor-for-actionscript-3/comment-page-1/#comment-126</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 26 Feb 2010 23:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=623#comment-126</guid>
		<description>Hey Paul,

I posted the source code I used at the bottom of this article. It should explain everything. Hope that answers your questions!

Thanks!
Mike</description>
		<content:encoded><![CDATA[<p>Hey Paul,</p>
<p>I posted the source code I used at the bottom of this article. It should explain everything. Hope that answers your questions!</p>
<p>Thanks!<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Mouse Cursor for ActionScript 3 by Paul</title>
		<link>http://www.mikeziray.com/2009/05/30/custom-mouse-cursor-for-actionscript-3/comment-page-1/#comment-125</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 26 Feb 2010 22:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=623#comment-125</guid>
		<description>Hey so the 2 code that you give here ;) where shoould i put it,on layer,or on the movie instance?
im new on this one.can you tell me what the name of the movie on that code? and where sheould i put first code and the second,at my movie.
thank you.</description>
		<content:encoded><![CDATA[<p>Hey so the 2 code that you give here <img src='http://www.mikeziray.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  where shoould i put it,on layer,or on the movie instance?<br />
im new on this one.can you tell me what the name of the movie on that code? and where sheould i put first code and the second,at my movie.<br />
thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by farid</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-124</link>
		<dc:creator>farid</dc:creator>
		<pubDate>Wed, 24 Feb 2010 22:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-124</guid>
		<description>thanks for the sample code it works great... i was trying to do the same in my code but after i added the MainViewController my app just shuts down im prob missing some steps in the interface builder side.  could you give more info about how everything is linked in MainWindow.xib</description>
		<content:encoded><![CDATA[<p>thanks for the sample code it works great&#8230; i was trying to do the same in my code but after i added the MainViewController my app just shuts down im prob missing some steps in the interface builder side.  could you give more info about how everything is linked in MainWindow.xib</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-122</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 23 Feb 2010 03:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-122</guid>
		<description>Yea, thanks for reminding me. I created a basic example a few weeks ago but forgot to post it. Check out the end of this article under Sample Code to see the basic idea put together.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Yea, thanks for reminding me. I created a basic example a few weeks ago but forgot to post it. Check out the end of this article under Sample Code to see the basic idea put together.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by farid</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-121</link>
		<dc:creator>farid</dc:creator>
		<pubDate>Mon, 22 Feb 2010 16:02:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-121</guid>
		<description>great article do you have a sample code to show how the MainViewController works??</description>
		<content:encoded><![CDATA[<p>great article do you have a sample code to show how the MainViewController works??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by Vahid</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-119</link>
		<dc:creator>Vahid</dc:creator>
		<pubDate>Wed, 03 Feb 2010 21:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-119</guid>
		<description>Thanks for the explanation.

So basically all that MainViewController does is just instantiate the Views, it&#039;s up to you when you really create them, right?

About the MainWindow.xib. If i open that in IB it seems it doesn&#039;t have a View but a Window(UIWindow) only. I see no default view to be honest.

Also in your example it seems that all the above ViewControllers still need to be added to the mainWindow (MainWIndow.xib). So you still depend on the MainWIndow.xib, this meaning that the MainWIndow is still the parent of all other ViewControllers.
But I assume this has to be the case if you create all your views at once? Instead of creating them as you go? 

Let me use this as an example:
AppDelegate --&gt; LoginView --&gt; CreateCustomerView --&gt; CustomerCreatedView

So AppDelegate knows only (and instantiates) LoginView, LoginView knows only (and instantiates) CreateCustomerView etc.
So only the parent view knows about it&#039;s child view, and there is no &#039;all-knowing&#039; app delegate. Is this also possible? and could this be a negative or positive way of designing your application?

Regards,
Vahid</description>
		<content:encoded><![CDATA[<p>Thanks for the explanation.</p>
<p>So basically all that MainViewController does is just instantiate the Views, it&#8217;s up to you when you really create them, right?</p>
<p>About the MainWindow.xib. If i open that in IB it seems it doesn&#8217;t have a View but a Window(UIWindow) only. I see no default view to be honest.</p>
<p>Also in your example it seems that all the above ViewControllers still need to be added to the mainWindow (MainWIndow.xib). So you still depend on the MainWIndow.xib, this meaning that the MainWIndow is still the parent of all other ViewControllers.<br />
But I assume this has to be the case if you create all your views at once? Instead of creating them as you go? </p>
<p>Let me use this as an example:<br />
AppDelegate &#8211;&gt; LoginView &#8211;&gt; CreateCustomerView &#8211;&gt; CustomerCreatedView</p>
<p>So AppDelegate knows only (and instantiates) LoginView, LoginView knows only (and instantiates) CreateCustomerView etc.<br />
So only the parent view knows about it&#8217;s child view, and there is no &#8216;all-knowing&#8217; app delegate. Is this also possible? and could this be a negative or positive way of designing your application?</p>
<p>Regards,<br />
Vahid</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by admin</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-118</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 03 Feb 2010 21:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-118</guid>
		<description>Thanks for the comment Vahid,

You *can* instantiate all of your views at once if you want, depending upon your needs. However, this model allows you to be flexible. Just create methods to handle view instantiation and removal in your MainViewController and you can decide when views get created. For example, if you have a function in your MainViewController like removeLoginView: you can make that method remove the loginView and then instantiate a new view and then add that to your window&#039;s view. In other words, when you call removeLoginView, only then will it create your next view, delaying the overhead of having many views in memory. But depending on your secondary view, you may want a longer application load time (by loading all your views at once in the beginning) than a delay after logging in (if you were to create the view after login, which might take some time). So really, it just depends on when loading that view makes sense for your particular case.

By default, your iPhone application will load the MainWindow.xib. There should be a default view in there if you open it in Interface Builder. If you want to add your own view programmatically, simply delete that view in IB and then call your [window addSubview:loginViewController.view] method you mentioned. Also make sure you have a [window makeKeyAndVisible]; method after adding the new view.

I hope that helps clear up my article for you. Let me know if anything else wasn&#039;t clear and I&#039;d be more than happy to elaborate.


Thanks!
Mike</description>
		<content:encoded><![CDATA[<p>Thanks for the comment Vahid,</p>
<p>You *can* instantiate all of your views at once if you want, depending upon your needs. However, this model allows you to be flexible. Just create methods to handle view instantiation and removal in your MainViewController and you can decide when views get created. For example, if you have a function in your MainViewController like removeLoginView: you can make that method remove the loginView and then instantiate a new view and then add that to your window&#8217;s view. In other words, when you call removeLoginView, only then will it create your next view, delaying the overhead of having many views in memory. But depending on your secondary view, you may want a longer application load time (by loading all your views at once in the beginning) than a delay after logging in (if you were to create the view after login, which might take some time). So really, it just depends on when loading that view makes sense for your particular case.</p>
<p>By default, your iPhone application will load the MainWindow.xib. There should be a default view in there if you open it in Interface Builder. If you want to add your own view programmatically, simply delete that view in IB and then call your [window addSubview:loginViewController.view] method you mentioned. Also make sure you have a [window makeKeyAndVisible]; method after adding the new view.</p>
<p>I hope that helps clear up my article for you. Let me know if anything else wasn&#8217;t clear and I&#8217;d be more than happy to elaborate.</p>
<p>Thanks!<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Your Initial View Controllers for iPhone by Vahid</title>
		<link>http://www.mikeziray.com/2010/01/27/handling-your-initial-view-controllers-for-iphone/comment-page-1/#comment-117</link>
		<dc:creator>Vahid</dc:creator>
		<pubDate>Wed, 03 Feb 2010 20:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=884#comment-117</guid>
		<description>Hello Mike,

Interesting article. Especially for someone like me, who just started learning to develop on the iPhone. Does this mean that you instantiate all your ViewControllers at once from within the MainViewController? Doesn&#039;t that eat up a lot of memory?

At the moment I have started developing an application for the iPhone. The application has a LoginView (with its LoginVIewController). This ViewController is instantiated from the appDelegate (in the applicationDidFinishLaunching method).
So if login happens successfully, I will work from there and load the views as needed.

But somehow using &quot;[window addSubview:loginViewController.view];&quot; doesn&#039;t load the LoginView and I keep seeing MainWIndow.xib. Any idea how that could be?

Regards,
Vahid</description>
		<content:encoded><![CDATA[<p>Hello Mike,</p>
<p>Interesting article. Especially for someone like me, who just started learning to develop on the iPhone. Does this mean that you instantiate all your ViewControllers at once from within the MainViewController? Doesn&#8217;t that eat up a lot of memory?</p>
<p>At the moment I have started developing an application for the iPhone. The application has a LoginView (with its LoginVIewController). This ViewController is instantiated from the appDelegate (in the applicationDidFinishLaunching method).<br />
So if login happens successfully, I will work from there and load the views as needed.</p>
<p>But somehow using &#8220;[window addSubview:loginViewController.view];&#8221; doesn&#8217;t load the LoginView and I keep seeing MainWIndow.xib. Any idea how that could be?</p>
<p>Regards,<br />
Vahid</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Life Goal Complete &#8211; US Coast Guard Bibb: Wreck Dive by Terry Weisshaar</title>
		<link>http://www.mikeziray.com/2009/08/19/life-goal-complete-us-coast-guard-bibb-wreck-dive/comment-page-1/#comment-80</link>
		<dc:creator>Terry Weisshaar</dc:creator>
		<pubDate>Wed, 02 Dec 2009 03:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=686#comment-80</guid>
		<description>Thanks for putting these pictures on a website.  I only wish my Dad, who died last August, had been able to see these.  He served on the Bibb 1944-46.  Only in his last years did he tell us stories.  He loved his ship and his friends.  Thanks for making the Bibb special.</description>
		<content:encoded><![CDATA[<p>Thanks for putting these pictures on a website.  I only wish my Dad, who died last August, had been able to see these.  He served on the Bibb 1944-46.  Only in his last years did he tell us stories.  He loved his ship and his friends.  Thanks for making the Bibb special.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Mouse Cursor for ActionScript 3 by Jamie</title>
		<link>http://www.mikeziray.com/2009/05/30/custom-mouse-cursor-for-actionscript-3/comment-page-1/#comment-73</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Fri, 13 Nov 2009 11:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=623#comment-73</guid>
		<description>Thanks, this is exactly what I was looking for for a flash game I&#039;m making. The only trouble I&#039;m having is it&#039;s throwing up the error 1120: Access of undefined property target_mc.</description>
		<content:encoded><![CDATA[<p>Thanks, this is exactly what I was looking for for a flash game I&#8217;m making. The only trouble I&#8217;m having is it&#8217;s throwing up the error 1120: Access of undefined property target_mc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on International Street Fair 2009 by Claude Jordan</title>
		<link>http://www.mikeziray.com/2009/04/06/international-street-fair-2009/comment-page-1/#comment-70</link>
		<dc:creator>Claude Jordan</dc:creator>
		<pubDate>Tue, 10 Nov 2009 19:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=512#comment-70</guid>
		<description>Michael, thanks for putting up this site. i am a graduate student of VT but i&#039;m based in Hampton, VA. I work at a local community college here and I help with the international club. we are going to try and organize a trip to the next street fair at VT. Your pictures have amazed the students here and they are very excited to attend. Thanks again!</description>
		<content:encoded><![CDATA[<p>Michael, thanks for putting up this site. i am a graduate student of VT but i&#8217;m based in Hampton, VA. I work at a local community college here and I help with the international club. we are going to try and organize a trip to the next street fair at VT. Your pictures have amazed the students here and they are very excited to attend. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic Textfields in Flash AS3 and Their Bugs by Zoltan</title>
		<link>http://www.mikeziray.com/2009/10/19/dynamic-textfields-in-flash-as3-and-their-bugs/comment-page-1/#comment-68</link>
		<dc:creator>Zoltan</dc:creator>
		<pubDate>Sat, 07 Nov 2009 20:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=716#comment-68</guid>
		<description>Wow you said it as it is we have a great tool at our hand called internet and we need to take more steps making these money hungry companies to work for their money 

I have been using flash for a long time but have to tell you I think I would of make more money if I got paid for hours that I have lost trying to figure out why things don&#039;t work then getting paid for developing websites what is probably very said. I think I should of take the php or java way in the begining.

Thanks for the tutorial you have comformed my worst fear IT IS BROKEN</description>
		<content:encoded><![CDATA[<p>Wow you said it as it is we have a great tool at our hand called internet and we need to take more steps making these money hungry companies to work for their money </p>
<p>I have been using flash for a long time but have to tell you I think I would of make more money if I got paid for hours that I have lost trying to figure out why things don&#8217;t work then getting paid for developing websites what is probably very said. I think I should of take the php or java way in the begining.</p>
<p>Thanks for the tutorial you have comformed my worst fear IT IS BROKEN</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Petunia by Stacey</title>
		<link>http://www.mikeziray.com/2009/10/29/petunia/comment-page-1/#comment-62</link>
		<dc:creator>Stacey</dc:creator>
		<pubDate>Tue, 03 Nov 2009 23:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=762#comment-62</guid>
		<description>Hi! I&#039;m the volunteer at the county shelter that helped you pick out Petunia as a foster. Anna forwarded the link to your web site. 

I had a feeling that Petunia was the right dog for you, even if it is only as a foster. I am so glad that she has a great home before she gets a forever home. She was my favorite dog this summer that ended up at the shelter; I don&#039;t know what I would have done had she not made it out of there bringing yet another dog into my home is not an option unfortunately). I hope that she finds the perfect forever home!</description>
		<content:encoded><![CDATA[<p>Hi! I&#8217;m the volunteer at the county shelter that helped you pick out Petunia as a foster. Anna forwarded the link to your web site. </p>
<p>I had a feeling that Petunia was the right dog for you, even if it is only as a foster. I am so glad that she has a great home before she gets a forever home. She was my favorite dog this summer that ended up at the shelter; I don&#8217;t know what I would have done had she not made it out of there bringing yet another dog into my home is not an option unfortunately). I hope that she finds the perfect forever home!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic Textfields in Flash AS3 and Their Bugs by Mike</title>
		<link>http://www.mikeziray.com/2009/10/19/dynamic-textfields-in-flash-as3-and-their-bugs/comment-page-1/#comment-58</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 23 Oct 2009 15:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=716#comment-58</guid>
		<description>Yes, of course! Let me know when you link to it. Thanks.</description>
		<content:encoded><![CDATA[<p>Yes, of course! Let me know when you link to it. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
