Generate C # control code from NIB and paste into MonoTouch designer.cs files - Visual Studio style

I started using MonoTouch 5.x. I feel like fighting a NIB to use inheritance.

I want to use inheritance. I want to use the constructor to make my views. I want it all.

So, I was looking for a tool that generates xxx.designer.cs files, such as VS, does this: inserting controls into the code on the fly when developing using IB. Reduce NIB to development time function.

As far as I can tell, this is the cleanest approach with the best performance, which allows me to go through full C #, visual inheritance, etc.

Does anyone know of such an initiative? In any form or form?

Thanks.

+4
source share
1 answer

In Microsoft Visual Studio, you can write an implementation of IVsSingleFileGenerator. It is then used as a custom tool for generating files during development.

Perhaps monodevelop has a similar function.

0
source

Source: https://habr.com/ru/post/1380546/


All Articles