[MonoTouch] Interface Builder- no header file generated
competent_tech
xamarinforums at competent.com
Tue Oct 25 15:39:41 EDT 2011
>From your comments in the other post, you have a custom class called
register, so you are having to fully qualify the Register statement (i.e.
Monotouch.Foundation.Register). However, there is a bug in Monotouch that
prevents the header files from being generated when the fully qualified name
is used (http://bugzilla.xamarin.com/show_bug.cgi?id=1684).
Fortunately, I just discovered a workaround that should help you: instead of
[Montouch.Foundation.Register("x")] or [Register("x")], use
[RegisterAttribute("x")]. This is the same as the previous two since all
attributes can have the trailing Attribute either present or absent. This
should (hopefully) have a much smaller chance of colliding with your
existing classes.
--
View this message in context: http://monotouch.2284126.n4.nabble.com/Interface-Builder-no-header-file-generated-tp3936166p3937971.html
Sent from the MonoTouch mailing list archive at Nabble.com.
More information about the MonoTouch
mailing list