[Mono-bugs] [Bug 590419] New: Ability to change the "template" used for Interface Builder .designer code generation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 23 05:22:15 EDT 2010



           Summary: Ability to change the "template" used for Interface
                    Builder .designer code generation
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: steve at robbins.me.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: No

It would be nice if there was some way to tweak/replace the templates used for
code generation when MonoTouch detects changes to a XIB file. The issues I have
with the current implementation are:

* Partial methods. Partial methods are inherently untestable and I'd like to
either a) wire up the action to a current method if it exists, or b) create an
Action<T> that's wired up to a convention based method if it exists, or a
"MonoTouch.NoAction" action if it doesn't. I'd also prefer the action to use
"object sender" when the action is set to "id", rather than coupling it to a
particular UIControl.
* Lack of namespace awareness. If I have a ViewController/something else
in my code, but in a different namespace, MonoTouch will break my build by
adding  a partial class in the same namespace as the view. This is more a
personal preference than a major issue though.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list