summaryrefslogtreecommitdiff
path: root/libs/tdlib/td/example/swift/README.md
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-04-27 20:39:22 +0300
committerMataes <mataes2007@gmail.com>2018-04-27 20:39:22 +0300
commitb9ce1d4d98525490ca1a38e2d9fd4f3369adb3e0 (patch)
tree787c80a909776c1c4d099b638c83c7977bb070e2 /libs/tdlib/td/example/swift/README.md
parent5ed0126c16d061d6e87aa20c718e14608c66feec (diff)
added tdlib library
Diffstat (limited to 'libs/tdlib/td/example/swift/README.md')
-rw-r--r--libs/tdlib/td/example/swift/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/tdlib/td/example/swift/README.md b/libs/tdlib/td/example/swift/README.md
new file mode 100644
index 0000000000..6a333df766
--- /dev/null
+++ b/libs/tdlib/td/example/swift/README.md
@@ -0,0 +1,15 @@
+# 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.
+
+Description of all available classes and methods can be found at [td_json_client](https://core.telegram.org/tdlib/docs/td__json__client_8h.html),
+[td_log](https://core.telegram.org/tdlib/docs/td__log_8h.html) and [td_api](https://core.telegram.org/tdlib/docs/td__api_8h.html) documentation.