mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Replaced deprecated method
-initWithBase64Encoding has been deprecated since OS X 10.9, and that is our deployment target.
This commit is contained in:
1 parent
0900d09ab3
commit
9a74b23f7f
1 file changed
+1
-1
Vendored
+1
-1
@@ -22,7 +22,7 @@ static NSData *decode(NSString *str) {
|
||||
}
|
||||
|
||||
NSString *stripped = [str stringByTrimmingCharactersInSet:NSCharacterSet.whitespaceAndNewlineCharacterSet];
|
||||
return [[NSData alloc] initWithBase64Encoding:stripped];
|
||||
return [[NSData alloc] initWithBase64EncodedString:stripped options:0];
|
||||
}
|
||||
|
||||
- (instancetype)initWithDsa:(NSString * _Nullable)maybeDsa ed:(NSString * _Nullable)maybeEd25519
|
||||
|
||||
Reference in new issue
Block a user