2016-09-27 11:57:29 +02:00
|
|
|
OLMKit
|
|
|
|
======
|
|
|
|
|
|
|
|
OLMKit exposes an Objective-C wrapper to libolm.
|
|
|
|
|
|
|
|
The original work by Chris Ballinger can be found at https://github.com/chrisballinger/OLMKit.
|
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
You can embed OLMKit to your application project with CocoaPods. The pod for
|
|
|
|
the latest OLMKit release is::
|
|
|
|
|
|
|
|
pod 'OLMKit'
|
|
|
|
|
2021-04-06 17:18:50 +02:00
|
|
|
Or you can use Swift Package Manager with the URL::
|
|
|
|
|
|
|
|
https://gitlab.matrix.org/matrix-org/olm
|
|
|
|
|
2016-09-27 11:57:29 +02:00
|
|
|
Development
|
|
|
|
-----------
|
2021-04-06 17:18:50 +02:00
|
|
|
Run `pod install` and open `OLMKit.xcworkspace` with Xcode.
|
2016-09-27 11:57:29 +02:00
|
|
|
|
|
|
|
The project contains only tests files. The libolm and the Objective-C wrapper source files are loaded via the OLMKit CocoaPods pod.
|
|
|
|
|
2016-11-17 14:43:04 +01:00
|
|
|
To add a new source file, add it to the file system and run `pod update` to make CocoaPods insert it into OLMKit.xcworkspace.
|
|
|
|
|
2021-04-06 17:18:50 +02:00
|
|
|
Development alternative
|
|
|
|
-----------------------
|
|
|
|
Based on the Swift package, you can build source files and run tests directly from the command line: `swift test`.
|
|
|
|
|
2016-11-17 14:43:04 +01:00
|
|
|
Release
|
|
|
|
-------
|
2021-04-06 17:18:50 +02:00
|
|
|
See ../README.rst for the release of the CocoaPod and the Swift package.
|