[MonoDevelop] Customizing XIB code generation

Len Charest len at shingl.com
Tue Oct 9 16:58:20 UTC 2012


I'm using MonoDevelop 3 with Monotouch 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).
The template is used to create the initial content of a designer file,
but it seems to be ignored when the designer file is re-generated
after an edit to the corresponding XIB. In other words, my changes to
IPhoneViewController.xft.xml are not sufficient to get the result I
want.

Suggestions?

Thanks,
Len


More information about the Monodevelop-list mailing list