How to compile specific files in objective-c++ and the rest of the project in objective-c

前端 未结 3 643
醉酒成梦
醉酒成梦 2020-12-30 03:09

I\'m currently busy on a project where I need to use an external accessory to read Mifare 1k tags.

The accessory was provided with an SDK, written in (Objective ?)C+

3条回答
  •  既然无缘
    2020-12-30 03:39

    Select the file you want to compile as Objective C++ from the file navigator, and then select the File Type in the file inspector view. This is in Xcode 4, but there is a similar mechanism in Xcode 3.

    Selecting File Type from the file inspector

提交回复
热议问题