Sunday, December 15, 2013

How to package a number of interfaces with object-c, provides C + + or other platform-independent language?


The current project itself would like to achieve a platform-independent, so using C + + to achieve.

The need to use object-c to encapsulate some of the interface, such as: game center features like interactivity.


So how can we implement these interfaces available to the logic of the game itself to use it? That object-c and c + + is an interactive?
Reply:
First method is called objective-c with c function package, then call this c function in c + + method.
Reply:
Or set xcode according Objective-C + + compile all files, or it c + + cpp files into documents mm
Reply:
If we allow C + + calls, this platform also supports either objc, or you use objc package too.
On the use of C + + package is very good.

No comments:

Post a Comment