[MonoDevelop] MD 2.8: New C# class file does not sync over to Xcode 4

Andrew Brehm ajbrehm at gmail.com
Tue Nov 1 06:20:00 EDT 2011


Michael Hutchinson wrote:
> 
> On Sun, Oct 9, 2011 at 3:08 PM, Andrew Brehm <ajbrehm@> 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.
> 
> 
> 

Thank you!

--
View this message in context: http://mono.1490590.n4.nabble.com/MD-2-8-New-C-class-file-does-not-sync-over-to-Xcode-4-tp3887424p3963065.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list