sensitivity.io for iOS & macOS  1.1.4
LicenseLoader.h
1 //
2 // LicenseLoader.h
3 //
4 // Created by Andreea ERDELYI <andreea.erdelyi@cososys.com>
5 //
6 // Copyright (C) 2017 CoSoSys Ltd team@sensitivity.io
7 // CoSoSys Ltd. All rights reserved.
8 // Please see the COPYING for more details.
9 //
10 
11 #import <Foundation/Foundation.h>
12 
16 @interface LicenseLoader : NSObject
17 
24 + (instancetype _Nullable) sharedInstanceWithError:(NSError * _Nullable * _Nullable)error NS_SWIFT_NAME(shared());
25 
26 + (instancetype _Null_unspecified) alloc NS_UNAVAILABLE;
27 - (instancetype _Null_unspecified) init NS_UNAVAILABLE;
28 + (instancetype _Null_unspecified) new NS_UNAVAILABLE;
29 - (instancetype _Null_unspecified) copy NS_UNAVAILABLE;
30 
40 - (BOOL) loadLicenseFromFileAtPath:(NSString * _Nonnull)licenseFilePath withError:(NSError * _Nullable * _Nullable)error NS_SWIFT_NAME(loadLicenseFromFile(atPath:));
50 - (BOOL) loadLicenseFromString:(NSString * _Nonnull)licenseString withError:(NSError * _Nullable * _Nullable)error NS_SWIFT_NAME(loadLicense(_:));
51 
52 @end
Definition: LicenseLoader.h:16