开发者

how can I mix objective-c objects (i.e UITextView) with pure c++ UI like DooleJump leadboard

开发者 https://www.devze.com 2023-04-09 22:37 出处:网络
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

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")

0

精彩评论

暂无评论...
验证码 换一张
取 消