[取用 C++ 的程式碼]
https://stackoverflow.com/questions/32541268/can-i-have-swift-objective-c-c-and-c-files-in-the-same-xcode-project/32546879#32546879
https://stackoverflow.com/questions/35229149/interacting-with-c-classes-from-swift
https://stackoverflow.com/questions/2045774/developing-c-wrapper-api-for-object-oriented-c-code/2045860
Swift 不能直接取用 C++的程式碼,必須先包裝成 C 或 Object-C++ 程式碼再取用。並且需要 Bridgeing-Header。
No comments:
Post a Comment