Reputation: 118
I have a mac application(written with xcode) i have to write a .net application that uses this code. what is the best practice in this case?
Upvotes: 1
Views: 684
Reputation: 89172
If it's in objective-c, then you should probably try to get it working with Cocotron, not .NET.
If you absolutely need .NET. Use the GNU objective-c compiler to make .lib files for as much as possible and then I guess rewrite the GUI in .NET. Wrap the .lib in a C++/CLI assembly with managed interfaces that you can call from your .NET application.
Upvotes: 2