Updated Swift example

This commit is contained in:
Joseph Henry
2017-10-19 17:04:22 -07:00
parent d600dd6e3d
commit 1f00f48a6e
8 changed files with 526 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
## 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