iphone - Objective-C++ for iOS development -


is possible use objective-c++ ios application (iphone, ipad, ipod touch) development?

are there examples , source code on internet?

using objc++ quite easy. have declare source files extension .mm. make compiler treat them objc++. same headers: use .hh extension.

there option: go target settings , set compile sources objective-c++.

that's all. no additional work necessary.

some notes: if want develop native ios app, use objective c. save lot of time. in cases using c++ more appropriate. e.g. cross-platform development. use little bit of objective c iphone or java android glue code environment. else in c++. use cross-platform game development.

another case performance: objective c principally slower c++. noticeable during method calls (in objc called messaging).


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -