Xamarin .xib Tree Hierarchy Cleanup

Another annoyance with Xamarin Studio is when adding a new iPhone View Controller and the csproj's hierarchy is different than what you'd expect (or what is used in the mobile-samples).

So I whipped up another Python script to save me some time & appease my obsessiveness.

Let's add a new iPhone View Controller simply called "MainMenu"...

Notice how the tree hierarchy has the .designer.cs file nested underneath the controller .cs file -- and the .xib file is completely independent.

And when we head back over to Xamarin Studio, it will automatically reload the project file & our tree hierarchy will be clean again.


Popular posts from this blog

Deleting Cookies (or Managing Cookie Domains) in ASP.NET

Fluent NHibernate + Encrypting Values

Done button on iOS NumberPad with Xamarin