[MonoTouch] Inherited UIViewController tip
simarx
kuldip at simarx.com
Tue Oct 25 06:06:14 EDT 2011
competent_tech wrote:
>
> So, if you are upgrading to MD 2.8/MT 5.0 and run into issues with the
> header files not being generated, try changing your
> Monotouch.Foundation.Register attributes to Register.
>
See my other post where I have been having similar problems.
For me, what I've found relating using your tip is that I *must *have the
attribute defined in the designer.cs file as :-
[Monotouch.Foundation.Register("MyView")]
However, once I load in Interface builder and add an outlet for example, the
regenerated designer.cs file reverts to :-
[Register("MyView")]
Which then does not generate any header file on next use in Interface
builder. So I have manually edit this file again for me to use in Interface
builder again.
--
View this message in context: http://monotouch.2284126.n4.nabble.com/Inherited-UIViewController-tip-tp3935207p3936210.html
Sent from the MonoTouch mailing list archive at Nabble.com.
More information about the MonoTouch
mailing list