Re: Just what the world needs
"In what sense does Apple 'force' you to use Objective-C? You can use as much C or C++ code as you like without having to hop any sort of barriers"
How do I call system APIs using native C++? I genuinely thought I couldn't - you end up with C++/OBJ-C files which are normal C++ with lines like:
UIInterfaceOrientation interfaceOrientation = [UIApplication sharedApplication].statusBarOrientation;
How do I do that in pure C++, i.e. set the .cpp file as C++ rather than C++/OBJ-C in XCode? Maybe it's just because all the sample code I saw uses OBJ-C.