how can I mix objective-c objects (i.e UITextView) with pure c++ UI like DooleJump leadboard
How can I m开发者_StackOverflow中文版ix objective-c objects (i.e UITextView) with pure c++ UI like DooleJump leadboard, which is scrollable and the text in it is from system`font. Can somebody help me ..thanks...
I can't see the relation between DooleJump leadboard being scrollable and using system fonts, and the use of C++.
Anyway, to answer the question, if you need to mix Objective-C and C++, use Objective-C++ (and rename all your files from ".m" to ".mm")
精彩评论