Utilizing C++ in iOS and Mac OS X applications

前端 未结 5 1901
清歌不尽
清歌不尽 2020-11-30 22:09

I\'m somewhat moderate in my C++ knowledge but know next to nothing regarding Objective-C. I am planning (and even starting to) learn Objective-C so I can attempt to write a

5条回答
  •  天涯浪人
    2020-11-30 22:28

    You could use Cocos2d-x engine and write pure C++ for your iOS app, including UI (cocos has basic ui classes like buttons, scroll views, table views, etc - but you need to develop your own Controllers, and Models using various C++ libraries like Hiberlite, or raw SQLite etc)

    Cocos has its own interface with iOS/MacOS (a few basic .mm objective-c classes to setup Application run cycle - like app delegate, or runloop and drawing cycle)

    So you just write your user code with C++

提交回复
热议问题