سؤال

Ok, So I am learning MonoMac. The first thing is that all of the tutorials have a MainWindow.xib.designer.cs file, I have only the MainWindow.xib file. When I do work on the interface builder, I get no auto-generated code. I am using monodevelop v2.8. No matter what I do, when I create a new MonoMac project, the xib files never have the accompanying *.xib.designer.cs files.

Any ideas before I throw this out the window?

هل كانت مفيدة؟

المحلول

In MD 2.8 there are no longer *.xib.designer.cs files, because in Xcode 4 xibs can no longer define classes. Instead, MD 2.8 works by syncing registered C# classes to/from Objective-C stubs. These classes will have *.designer.cs partial class files to reflect changes made in Xcode.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top