This repository has been archived on 2020-05-25. You can view files and clone it, but cannot push or open issues or pull requests.
tdlib-fork/example/swift
Arseny Smirnov 85c9a8bdb1 Swift example
GitOrigin-RevId: a79b90748b0e978610a0da2f7e7bfa8b40a44c03
2018-02-12 16:10:53 +03:00
..
src Swift example 2018-02-12 16:10:53 +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 Swift example 2018-02-12 16:10:53 +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 exampe with XCode.