This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/examples/swift/libztExampleApp/README.md
2018-07-19 17:35:42 -07:00

9 lines
472 B
Markdown

## Example usage of libzt in Swift app via native static library
***
If any of the below instructions seem unclear see [HOWTO: Use a C++ Library from Swift](http://www.swiftprogrammer.info/swift_call_cpp.html) or drop us a message.
- Build (`make static_lib`) or Download: [libzt.a]()
- Add `libztWrapper.cpp` and `libztWrapper.hpp` and `libztWrapper.swift` to your project
- Add `include/` (from the cloned libzt repo) to your projects `Header Search Path`
- Build