571898632f
[ADDED] The master password can now be changed. [IMPROVED] Flow of handling the master password when activating the app. [IMPROVED] iTunesArtwork & icons. [ADDED] Elements are now scoped to the current master password. [ADDED] Lots of documentation for the user: - Settings - FAQ - A quickstart guide
38 lines
1.3 KiB
Objective-C
38 lines
1.3 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, forgetKeyPhrase, 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(forgetKeyPhrase)),
|
|
[NSNumber numberWithBool:NO], NSStringFromSelector(@selector(helpHidden)),
|
|
nil]];
|
|
|
|
return self;
|
|
}
|
|
|
|
+ (OPConfig *)get {
|
|
|
|
return (OPConfig *)[super get];
|
|
}
|
|
|
|
@end
|