Customizing XIB code generation

LenCharestLenCharest USMember
edited October 2012 in Xamarin.iOS

I'm using MonoDevelop 3 to write an iPhone app. I'd like to customize the designer files (*.designer.cs) generated by MD for each of my
XIB files. Specifically, I'd like to eliminate the ReleaseDesignerOutlets method generated for each controller class.

I've found the template used to create new iPhone view controllers (in /Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.IPhone/templates-files/IPhoneViewController.xft.xml). But that template seems to be ignored when the designer file is re-generated after an edit to the corresponding XIB.

Suggestions?

Thanks,
Len

Posts

  • RudaRuda BRUniversity ✭✭

    There's no way to ignore.
    The MonoTouch generates the .designer
    What you can do is create another partial file: name.designer2.cs

Sign In or Register to comment.