1

I want to use the crypto++ library in my iPhone app. Is this possible with the way OBJ-C/C++ are integrated with Swift? I have tried to add it as a library, but I am not sure how to call it.

  • You may need a C an Objective-C wrapper. It really depends on the interface exposed by the C++ library. – uchuugaka Jan 19 '15 at 06:59
  • 1
    Just clarifying @uchuugaka comment. You **definitely** need an objective C wrapper since there is no way for Swift to interact directly with c++ – Zaid Amir Jan 19 '15 at 07:07
  • 1
    possible duplicate of [Can I mix Swift with C++? Like the Objective - C .mm files](http://stackoverflow.com/questions/24042774/can-i-mix-swift-with-c-like-the-objective-c-mm-files) – Sebastian Jan 19 '15 at 08:06

0 Answers0