Add NSCopying, NSSecureCoding Support to Informational Classes (#17)

* Add NSCopying, NSSecureCoding Support to Informational Classes

* Remove Redundant Copies

* Revert out-of-context typo corrections

* Revert out-of-context changes
This commit is contained in:
Jonathan Downing
2017-09-16 17:42:57 +03:00
committed by Sergey Abramchuk
parent 8e387bfb98
commit 270d5b8cac
10 changed files with 299 additions and 49 deletions
+1 -3
View File
@@ -11,7 +11,7 @@
/**
Class used to get session token from VPN core
*/
@interface OpenVPNSessionToken : NSObject
@interface OpenVPNSessionToken : NSObject <NSCopying, NSSecureCoding>
@property (nullable, readonly, nonatomic) NSString *username;
@@ -20,6 +20,4 @@
*/
@property (nullable, readonly, nonatomic) NSString *session;
- (nonnull instancetype) __unavailable init;
@end