[MonoDevelop] MD 2.8: New C# class file does not sync over to Xcode 4
m.j.hutchinson at gmail.com
Wed Oct 19 19:33:29 EDT 2011
On Sun, Oct 9, 2011 at 3:08 PM, Andrew Brehm <ajbrehm at gmail.com> wrote:
> I have header files for all C# classes in my solution created by MonoDevelop
> for Xcode 4. But I added a new class file ("DelegateTest.cs") containing a
> class and no .h file was created for it (and Xcode 4 cannot see it).
> What am I doing wrong?
You must give your class an Objective-C name using RegisterAttribute
i.e. [Register("SomeName")], and subclass NSObject or some class that
ultimately subclasses NSObject.
More information about the Monodevelop-list