Is there a way to use C ++ for iPhone development?

Sorry if this is mentioned somewhere, could not find information on this. If you find a duplicate, please post a comment.

It's not about whether it's even possible to compile a C ++ program for the iPhone (which I suppose is possible).

Basically the question is: can you connect between Objective C and C ++ ? And if possible, would it be possible to wrap the entire w80> Touch API for iPhone with a good C ++ library?

I don't know anything about Objective C and I would really like to have my current C ++ skills on the iPhone.

EDIT : A very similar question here

0


a source to share


1 answer


This question is very close to duplicating your own.

However, I would suggest spending a little more time on Objective-C. I developed C ++ myself before learning Objective-C and it was a pretty smooth transition. Many of the basic concepts are the same and all of your basic C skills will translate. I think once you get a little more comfortable with it, you'll find that interacting directly with Objective-C with Cocoa frameworks is really the way to go for Mac and iPhone. There are many great resources to get you started, such as the ones I list here .



There are admittedly cases where he prefers to use the cross-platform C ++ engine behind the scenes and the Objective-C / Cocoa UI.

0


a source