开发者

iPhone Quartz 2d development using C++?

Could I write c++ code that interacts with the iPhone Quartz 2D framework, or can I only using objective-c?

Than开发者_StackOverflow中文版ks


Yes. Quartz is a C framework. You can use C++ code that uses Quartz.

You will need some Objective-C to launch your application and get a graphics context for a view to draw into.


I think Quartz 2D is a C framework isn't it? As long as you only call the C APIs, you can use C++ by itself. If you want access to any Objective-C frameworks, you will need to look into Objective-C++.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜