Skip to main content
spelling and removed "thanks"
Source Link
bummzack
  • 22.7k
  • 5
  • 64
  • 87

We've developed a game engine written in C++. Now we are preparing our game engine for iOS developers.

I guess that many game developers use C++ or Objective-C for their game apps. So I think we should expose the API of our library in both Objective-C (@class blahblah) header files and in C++ (class blahblah) header files.

Is my guessAm I on the right track? If not, what is the most recommended way of exposing the API for our library?

Please reply. Thanks in advance.

Hyunjik Bae

We've developed a game engine written in C++. Now we are preparing our game engine for iOS developers.

I guess that many game developers use C++ or Objective-C for their game apps. So I think we should expose API of our library in both Objective-C (@class blahblah) header files and in C++ (class blahblah) header files.

Is my guess on right track? If not, what is the most recommended way of exposing API for our library?

Please reply. Thanks in advance.

Hyunjik Bae

We've developed a game engine written in C++. Now we are preparing our game engine for iOS developers.

I guess that many game developers use C++ or Objective-C for their game apps. So I think we should expose the API of our library in both Objective-C (@class blahblah) header files and in C++ (class blahblah) header files.

Am I on the right track? If not, what is the most recommended way of exposing the API for our library?

Source Link

Objective-C or C++ of game engine header file for iOS developers?

We've developed a game engine written in C++. Now we are preparing our game engine for iOS developers.

I guess that many game developers use C++ or Objective-C for their game apps. So I think we should expose API of our library in both Objective-C (@class blahblah) header files and in C++ (class blahblah) header files.

Is my guess on right track? If not, what is the most recommended way of exposing API for our library?

Please reply. Thanks in advance.

Hyunjik Bae