Initial working password application with types and history.
This commit is contained in:
34
OnePassword/OPConfig.m
Normal file
34
OnePassword/OPConfig.m
Normal file
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// OPConfig.m
|
||||
// OnePassword
|
||||
//
|
||||
// Created by Maarten Billemont on 02/01/12.
|
||||
// Copyright (c) 2012 Lyndir. All rights reserved.
|
||||
//
|
||||
|
||||
#import "OPConfig.h"
|
||||
|
||||
@implementation OPConfig
|
||||
|
||||
@dynamic dataStoreError, keyPhraseHash;
|
||||
|
||||
|
||||
-(id) init {
|
||||
|
||||
if(!(self = [super init]))
|
||||
return self;
|
||||
|
||||
[self.defaults registerDefaults:[NSDictionary dictionaryWithObjectsAndKeys:
|
||||
[NSNumber numberWithBool:NO], NSStringFromSelector(@selector(dataStoreError)),
|
||||
|
||||
nil]];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
+ (OPConfig *)get {
|
||||
|
||||
return (OPConfig *)[super get];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user