713ec69a20
[ADDED] Settings for remembering and storing the master password. [ADDED] KeyChain used to store master password & hash. [IMPROVED] Remember whether help is hidden. [FIXED] Making passwords stored. [ADDED] Generated password counter. Edit stored passwords. [IMPROVED] UI prettier and better documented. [ADDED] Warnings when changing a site's password.
37 lines
1.1 KiB
Objective-C
37 lines
1.1 KiB
Objective-C
//
|
|
// 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, storeKeyPhrase, rememberKeyPhrase, helpHidden;
|
|
|
|
|
|
- (id)init {
|
|
|
|
if(!(self = [super init]))
|
|
return self;
|
|
|
|
[self.defaults registerDefaults:[NSDictionary dictionaryWithObjectsAndKeys:
|
|
[NSNumber numberWithBool:NO], NSStringFromSelector(@selector(dataStoreError)),
|
|
[NSNumber numberWithBool:NO], NSStringFromSelector(@selector(storeKeyPhrase)),
|
|
[NSNumber numberWithBool:NO], NSStringFromSelector(@selector(rememberKeyPhrase)),
|
|
[NSNumber numberWithBool:NO], NSStringFromSelector(@selector(helpHidden)),
|
|
nil]];
|
|
|
|
return self;
|
|
}
|
|
|
|
+ (OPConfig *)get {
|
|
|
|
return (OPConfig *)[super get];
|
|
}
|
|
|
|
@end
|