tdlight/example/swift
levlam 4ebb813907 Set database directory in examples.
GitOrigin-RevId: bbbd31f3a7f044cf12db36bbce21363ee6019cde
2018-02-26 12:41:12 +03:00
..
src Set database directory in examples. 2018-02-26 12:41:12 +03:00
td.xcodeproj Swift example 2018-02-12 16:10:53 +03:00
.gitignore Swift example 2018-02-12 16:10:53 +03:00
README.md Minor Swift example fixes. 2018-02-12 19:28:26 +03:00

TDLib swift MacOS example

TDLib should be prebuilt and installed to local subdirectory td/:

cd <path to TDLib sources>
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../example/swift/td ..
cmake --build . --target install

Then you can open and build the example with the latest Xcode.