Is there a way to mix MonoTouch and Objective-C?

前端 未结 5 647
情歌与酒
情歌与酒 2020-12-04 22:05

I\'d like to know if there is a way to mix C# and Obj-C code in one project. Specifically, I\'d like to use Cocos2D for my UI in Obj-C and call some MonoTouch C#-Library tha

5条回答
  •  悲&欢浪女
    2020-12-04 23:05

    Over the weekend it emerged that someone has been porting Cocos2D to .NET, so you could also do the whole work on .NET:

    http://github.com/city41/CocosNet

    Cocos2D started as a Python project, that later got ported to Objective-C, and now there is an active effort to bring it to C#. It is not finished, but the author is accepting patches and might be a better way forward.

提交回复
热议问题