This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface KeychainDumper: NSObject | |
- (void)dumpVerbose:(BOOL)verbose; | |
@end | |
@implementation KeychainDumper | |
- (void)dumpVerbose:(BOOL)verbose { | |
[self printString:@"##################################################################"]; | |
[self printString:@"### KEYCHAIN DUMP ################################################"]; | |
[self printString:@"##################################################################"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Swift Playground | |
import Foundation | |
import Dispatch | |
final class Synchronized<T> { | |
private let queue: DispatchQueue | |
private var _value: T | |
init(_ value: T) { |