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++.
精彩评论