IPhone / iPad C ++ Example

Does anyone know where and how to get a C ++ example for creating iPhone apps? I am only looking with C ++ (without objective-C or just the main objective-C) and without an interface constructor, only for the source.

Can it help me find such a beast?

+4
source share
2 answers

You can download the Carmack source for Wolfenstein3D for iphone to find out what a program looks like that uses only the minimum Objective-C needed to run. In this case, it uses C mixed with Objective-C, but as everyone noted, there is no way to avoid using any Objective-C if you plan to establish a connection with the iPhone SDK.

+2
source

You can use C ++ and objective-c together, there are several documents in the Apple developer guides. You just need to change the file extensions from .m to .mm.

You still need to be a registered iPhone developer with Apple to do this, since you need an SDK for communication.

+3
source

Source: https://habr.com/ru/post/1310193/


All Articles