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. Now let's run xamarin_tree_clean.py available at https://gist.github.com/xeb/5907008 And when we head back over to Xamarin Studio, it will automatically reload the project file & our tree hierarchy will be clean again.