<?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 InterKnowlogy Blogs</title>
	<atom:link href="http://blogs.interknowlogy.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.interknowlogy.com</link>
	<description>Blogging the Art of Software</description>
	<lastBuildDate>Wed, 02 May 2012 15:03:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on How to create a WinRT WRL C++ Component from scratch that can be consumed by .NET components by Kevin Stumpf</title>
		<link>http://blogs.interknowlogy.com/2012/04/11/how-to-create-a-winrt-wrl-c-component-from-scratch-that-can-be-consumed-by-net-components/#comment-4457</link>
		<dc:creator>Kevin Stumpf</dc:creator>
		<pubDate>Wed, 02 May 2012 15:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/?p=3003#comment-4457</guid>
		<description>Awesome. Thank you Raffaele!</description>
		<content:encoded><![CDATA[<p>Awesome. Thank you Raffaele!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to create a WinRT WRL C++ Component from scratch that can be consumed by .NET components by Raffaele Rialdi</title>
		<link>http://blogs.interknowlogy.com/2012/04/11/how-to-create-a-winrt-wrl-c-component-from-scratch-that-can-be-consumed-by-net-components/#comment-4455</link>
		<dc:creator>Raffaele Rialdi</dc:creator>
		<pubDate>Wed, 02 May 2012 09:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/?p=3003#comment-4455</guid>
		<description>Great. For your info, I created a project template for Visual Studio, starting from your initial settings.
I changed few of them and created the configurations for x86 and x64.

It&#039;s published here: http://winrt.codeplex.com
Your name/this blog post is referenced in the readme.txt for credits.</description>
		<content:encoded><![CDATA[<p>Great. For your info, I created a project template for Visual Studio, starting from your initial settings.<br />
I changed few of them and created the configurations for x86 and x64.</p>
<p>It&#8217;s published here: <a href="http://winrt.codeplex.com" rel="nofollow">http://winrt.codeplex.com</a><br />
Your name/this blog post is referenced in the readme.txt for credits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Transparent Windows in WPF by Adrian</title>
		<link>http://blogs.interknowlogy.com/2007/06/20/transparent-windows-in-wpf-2/#comment-4450</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Tue, 01 May 2012 17:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/?p=763#comment-4450</guid>
		<description>Dave try this:
private void Window_StateChanged(object sender, EventArgs e)
 {
    if (this.WindowState == WindowState.Maximized)
        this.WindowState = WindowState.Normal;
}

It will take your window back to normal state when it gets maximized. Otherwise make the window state normal before you do the DragMove()</description>
		<content:encoded><![CDATA[<p>Dave try this:<br />
private void Window_StateChanged(object sender, EventArgs e)<br />
 {<br />
    if (this.WindowState == WindowState.Maximized)<br />
        this.WindowState = WindowState.Normal;<br />
}</p>
<p>It will take your window back to normal state when it gets maximized. Otherwise make the window state normal before you do the DragMove()</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WP Simplified: CoreApplicationService (Lifecycle) by Simplifying the Windows Phone development experience! Codename: LionHeart &#124; InterKnowlogy Blogs</title>
		<link>http://blogs.interknowlogy.com/2012/04/30/wp-simplified-coreapplicationservice-lifecycle/#comment-4446</link>
		<dc:creator>Simplifying the Windows Phone development experience! Codename: LionHeart &#124; InterKnowlogy Blogs</dc:creator>
		<pubDate>Tue, 01 May 2012 05:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/?p=3156#comment-4446</guid>
		<description>[...] CoreApplicationService (Application Lifecycle) [...]</description>
		<content:encoded><![CDATA[<p>[...] CoreApplicationService (Application Lifecycle) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simplifying the Windows Phone development experience! Codename: LionHeart by WP Simplified: CoreApplicationService (Lifecycle) &#124; InterKnowlogy Blogs</title>
		<link>http://blogs.interknowlogy.com/2012/04/11/simplifying-the-windows-phone-development-experience-codename-lionheart/#comment-4445</link>
		<dc:creator>WP Simplified: CoreApplicationService (Lifecycle) &#124; InterKnowlogy Blogs</dc:creator>
		<pubDate>Tue, 01 May 2012 05:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/?p=3114#comment-4445</guid>
		<description>[...] my post Simplyfying the Windows Phone Development Experience! Codename: LionHeart I explain that LionHeart is a demo app that I’m using to prove out a few lessons we’ve learned [...]</description>
		<content:encoded><![CDATA[<p>[...] my post Simplyfying the Windows Phone Development Experience! Codename: LionHeart I explain that LionHeart is a demo app that I’m using to prove out a few lessons we’ve learned [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is RECESS ? by Using PhoneGap to Access Native iPad APIs &#124; InterKnowlogy Blogs</title>
		<link>http://blogs.interknowlogy.com/2010/11/10/what-is-recess/#comment-4398</link>
		<dc:creator>Using PhoneGap to Access Native iPad APIs &#124; InterKnowlogy Blogs</dc:creator>
		<pubDate>Thu, 26 Apr 2012 00:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/2010/11/10/what-is-recess/#comment-4398</guid>
		<description>[...] let the code sit for a week until the next RECESS, when I dug a little deeper.  I finally found that I was running into a KNOWN BUG in the Camera [...]</description>
		<content:encoded><![CDATA[<p>[...] let the code sit for a week until the next RECESS, when I dug a little deeper.  I finally found that I was running into a KNOWN BUG in the Camera [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to use PhoneGap API + WP7 by Using PhoneGap to Access Native iPad APIs &#124; InterKnowlogy Blogs</title>
		<link>http://blogs.interknowlogy.com/2012/02/26/how-to-use-phonegap-api/#comment-4397</link>
		<dc:creator>Using PhoneGap to Access Native iPad APIs &#124; InterKnowlogy Blogs</dc:creator>
		<pubDate>Thu, 26 Apr 2012 00:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/?p=2852#comment-4397</guid>
		<description>[...] application for the OS you’re targeting (iPad, Android, WinPhone7, etc).  Chris blogged about it here and [...]</description>
		<content:encoded><![CDATA[<p>[...] application for the OS you’re targeting (iPad, Android, WinPhone7, etc).  Chris blogged about it here and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Use LINQ&#8217;s SelectMany Method to &quot;Flatten&quot; Collections by cory</title>
		<link>http://blogs.interknowlogy.com/2008/10/10/use-linqs-selectmany-method-to-flatten-collections/#comment-4301</link>
		<dc:creator>cory</dc:creator>
		<pubDate>Thu, 19 Apr 2012 17:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/2008/10/10/use-linqs-selectmany-method-to-flatten-collections/#comment-4301</guid>
		<description>Great example! I have been working with the &quot;select&quot; and &quot;select many&quot; for the last week or so while working on a project using RavenDB, and I have found my self trying to determine which selector tha tI should go with to accomplish my needs. This article did a great job of distinguishing between the two selectors. Thanks for taking the time to share your knowledge!</description>
		<content:encoded><![CDATA[<p>Great example! I have been working with the &#8220;select&#8221; and &#8220;select many&#8221; for the last week or so while working on a project using RavenDB, and I have found my self trying to determine which selector tha tI should go with to accomplish my needs. This article did a great job of distinguishing between the two selectors. Thanks for taking the time to share your knowledge!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Monotouch and iOS Storyboard limitations by Bret Faller</title>
		<link>http://blogs.interknowlogy.com/2012/04/18/monotouch-and-ios-storyboard-limitations/#comment-4300</link>
		<dc:creator>Bret Faller</dc:creator>
		<pubDate>Thu, 19 Apr 2012 16:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/?p=3119#comment-4300</guid>
		<description>Hi Miguel,

First off, I am extremely humbled and grateful for you taking the time to read and respond to my post.  I mean it&#039;s not everyday you get &quot;The Man&quot; to comment on a post of yours.  In response to your comments, you, obviously, are correct about how to subclass existing view controllers, etc.  However, what I was trying to do was exactly what you stated about rolling your own UITabBar control from scratch.  Also, I was trying to create reusable components which, like you said, storyboards are not really suited for.  I didn&#039;t want to subclass the existing UITabBar and just draw or add a view on top of it as most posts around the net suggest.  That, to me, seems ghetto.  I wanted a real control that behaves like a control and is developed in a clean reusable manner.  I believe, ultimately, that we&#039;ve come to the same conclusion that storyboards are nifty but they are not suited for complex applications that want to create custom, reusable controls.  MonoTouch itself isn&#039;t the issue, it was the use of storyboards that I was trying to shed some light on. Once again, thank you for your response, it is much appreciated!

PS: MonoTouch is freaking awesome, keep up the amazing work!


Thanks,
Bret</description>
		<content:encoded><![CDATA[<p>Hi Miguel,</p>
<p>First off, I am extremely humbled and grateful for you taking the time to read and respond to my post.  I mean it&#8217;s not everyday you get &#8220;The Man&#8221; to comment on a post of yours.  In response to your comments, you, obviously, are correct about how to subclass existing view controllers, etc.  However, what I was trying to do was exactly what you stated about rolling your own UITabBar control from scratch.  Also, I was trying to create reusable components which, like you said, storyboards are not really suited for.  I didn&#8217;t want to subclass the existing UITabBar and just draw or add a view on top of it as most posts around the net suggest.  That, to me, seems ghetto.  I wanted a real control that behaves like a control and is developed in a clean reusable manner.  I believe, ultimately, that we&#8217;ve come to the same conclusion that storyboards are nifty but they are not suited for complex applications that want to create custom, reusable controls.  MonoTouch itself isn&#8217;t the issue, it was the use of storyboards that I was trying to shed some light on. Once again, thank you for your response, it is much appreciated!</p>
<p>PS: MonoTouch is freaking awesome, keep up the amazing work!</p>
<p>Thanks,<br />
Bret</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Monotouch and iOS Storyboard limitations by Miguel de Icaza</title>
		<link>http://blogs.interknowlogy.com/2012/04/18/monotouch-and-ios-storyboard-limitations/#comment-4284</link>
		<dc:creator>Miguel de Icaza</dc:creator>
		<pubDate>Thu, 19 Apr 2012 01:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.interknowlogy.com/?p=3119#comment-4284</guid>
		<description>Hello Bret,

The trick to be able to use Xcode to define your storyboard with your controls is to change the &quot;Class&quot; for the UITabBarController in Xcode to a custom name.   When you save this, MonoDevelop will automatically create a stub class for you that will contain the proper constructors, like this:

http://tirania.org/s/3f85bf15.png

In this case, I changed the default which was &quot;UITabBarController&quot; to &quot;MyViewController&quot;, and I repeated that with the UITabBar, and renamed that to &quot;MyTabBar&quot;, this is what MonoDevelop generated for me:

http://tirania.org/s/b164e48e.png

I added the &quot;Console.WriteLine (&quot;foo&quot;);&quot; just to show the constructor being invoked.

You are right in saying that storyboards do not have a great pipeline to develop with, in particular for reusable component.   They tend to be a grab bag of all the stuff that you will need in your application.    The good news is that behind the scenes Xcode or MonoDevelop will generate XIB files out of the main storyboard file.   

Now my sample has a problem, it reuses the default TabBarController sample, and although I can change the UITabBar class to a subclass, I can not really replace it with another class that does not implement the same interface as a UITabBar, and this is where things break.

If you wanted to roll your own UI, with your own model that merely happens to look like a UITabBar, you would need to implement UIViewController Containment.   It would work, but you would not get much in the way of designer support for it.   You could lay the controllers on the screen as UIViewControllers and change the &quot;Class&quot; to your own, but you would not get any visual feedback on what it would actually look like.

Hope this helps,
Miguel</description>
		<content:encoded><![CDATA[<p>Hello Bret,</p>
<p>The trick to be able to use Xcode to define your storyboard with your controls is to change the &#8220;Class&#8221; for the UITabBarController in Xcode to a custom name.   When you save this, MonoDevelop will automatically create a stub class for you that will contain the proper constructors, like this:</p>
<p><a href="http://tirania.org/s/3f85bf15.png" rel="nofollow">http://tirania.org/s/3f85bf15.png</a></p>
<p>In this case, I changed the default which was &#8220;UITabBarController&#8221; to &#8220;MyViewController&#8221;, and I repeated that with the UITabBar, and renamed that to &#8220;MyTabBar&#8221;, this is what MonoDevelop generated for me:</p>
<p><a href="http://tirania.org/s/b164e48e.png" rel="nofollow">http://tirania.org/s/b164e48e.png</a></p>
<p>I added the &#8220;Console.WriteLine (&#8220;foo&#8221;);&#8221; just to show the constructor being invoked.</p>
<p>You are right in saying that storyboards do not have a great pipeline to develop with, in particular for reusable component.   They tend to be a grab bag of all the stuff that you will need in your application.    The good news is that behind the scenes Xcode or MonoDevelop will generate XIB files out of the main storyboard file.   </p>
<p>Now my sample has a problem, it reuses the default TabBarController sample, and although I can change the UITabBar class to a subclass, I can not really replace it with another class that does not implement the same interface as a UITabBar, and this is where things break.</p>
<p>If you wanted to roll your own UI, with your own model that merely happens to look like a UITabBar, you would need to implement UIViewController Containment.   It would work, but you would not get much in the way of designer support for it.   You could lay the controllers on the screen as UIViewControllers and change the &#8220;Class&#8221; to your own, but you would not get any visual feedback on what it would actually look like.</p>
<p>Hope this helps,<br />
Miguel</p>
]]></content:encoded>
	</item>
</channel>
</rss>

