diff --git a/CocoaSecurity.xcodeproj/project.xcworkspace/xcuserdata/Kelp.xcuserdatad/UserInterfaceState.xcuserstate b/CocoaSecurity.xcodeproj/project.xcworkspace/xcuserdata/Kelp.xcuserdatad/UserInterfaceState.xcuserstate index 7b2b8b6..e5c3b76 100644 Binary files a/CocoaSecurity.xcodeproj/project.xcworkspace/xcuserdata/Kelp.xcuserdatad/UserInterfaceState.xcuserstate and b/CocoaSecurity.xcodeproj/project.xcworkspace/xcuserdata/Kelp.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/CocoaSecurity/CocoaSecurity.h b/CocoaSecurity/CocoaSecurity.h index 1ffe07e..b7ba4d1 100644 --- a/CocoaSecurity/CocoaSecurity.h +++ b/CocoaSecurity/CocoaSecurity.h @@ -19,12 +19,22 @@ #import #pragma mark - CocoaSecurityResult + @interface CocoaSecurityResult : NSObject + +#if __has_feature(objc_arc) +@property (strong) NSData *data; +@property (strong, readonly) NSString *utf8String; +@property (strong, readonly) NSString *hex; +@property (strong, readonly) NSString *hexLower; +@property (strong, readonly) NSString *base64; +#else @property (retain) NSData *data; @property (retain, readonly) NSString *utf8String; @property (retain, readonly) NSString *hex; @property (retain, readonly) NSString *hexLower; @property (retain, readonly) NSString *base64; +#endif - (id)initWithBytes: (unsigned char[])initData length: (uint) length; @end