aboutsummaryrefslogtreecommitdiff
path: root/xcode/OLMKit/OLMKit.h
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-01-18 10:46:59 +0000
committerRichard van der Hoff <richard@matrix.org>2017-01-18 10:46:59 +0000
commit1761730db8c54a949ad6d12522de8eee2e0a50be (patch)
treef3f36c250d7cf5dec0012552a1f115c508655025 /xcode/OLMKit/OLMKit.h
parenta45c3cc80957d61065626089eee4ce664ad1615f (diff)
parent757be9aeba67d609942c54c1bbe0461e120a392e (diff)
Swift project support
Merge patch required to support Swift projects, from Avery Pierce. Patch taken from https://github.com/matrix-org/matrix-ios-sdk/files/712987/olm_patch.txt. Sign-off at https://github.com/matrix-org/matrix-ios-sdk/pull/220#issue-201470911.
Diffstat (limited to 'xcode/OLMKit/OLMKit.h')
-rw-r--r--xcode/OLMKit/OLMKit.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/xcode/OLMKit/OLMKit.h b/xcode/OLMKit/OLMKit.h
index e23a9f1..455d11b 100644
--- a/xcode/OLMKit/OLMKit.h
+++ b/xcode/OLMKit/OLMKit.h
@@ -18,10 +18,6 @@
#import <Foundation/Foundation.h>
-
-//! Project version string for OLMKit, the same as libolm.
-NSString *OLMKitVersionString();
-
// In this header, you should import all the public headers of your framework using statements like #import <OLMKit/PublicHeader.h>
#import <OLMKit/OLMAccount.h>
@@ -30,3 +26,10 @@ NSString *OLMKitVersionString();
#import <OLMKit/OLMUtility.h>
#import <OLMKit/OLMInboundGroupSession.h>
#import <OLMKit/OLMOutboundGroupSession.h>
+
+@interface OLMKit : NSObject
+
+//! Project version string for OLMKit, the same as libolm.
++ (NSString*)versionString;
+
+@end