0

I would like to create a new Cocoa Touch Static Library project in Xcode which will build C++ source code. But when asked in the project settings for a language selection. I am hesitating, the choice is between Objective-C and Swift languages. Is the choice of project language when building c++ static library is important?

Blazej SLEBODA
  • 8,936
  • 7
  • 53
  • 93

1 Answers1

0

Choose Objective-C. Objective-C works better with C++ than Swift does. See the following Stack Overflow question:

What is Objective C++?

Swift Dev Journal
  • 19,282
  • 4
  • 56
  • 66