36 lines
1.4 KiB
Objective-C
36 lines
1.4 KiB
Objective-C
//
|
|
// MPConfig.m
|
|
// MasterPassword
|
|
//
|
|
// Created by Maarten Billemont on 02/01/12.
|
|
// Copyright (c) 2012 Lyndir. All rights reserved.
|
|
//
|
|
|
|
@implementation MPiOSConfig
|
|
|
|
@dynamic helpHidden, siteInfoHidden, showSetup, actionsTipShown, typeTipShown, loginNameTipShown, traceMode, dictationSearch, allowDowngrade;
|
|
@dynamic developmentFuelRemaining, developmentFuelInvested, developmentFuelConsumption, developmentFuelChecked;
|
|
|
|
- (id)init {
|
|
|
|
if (!(self = [super init]))
|
|
return self;
|
|
|
|
[self.defaults registerDefaults:@{
|
|
NSStringFromSelector( @selector( helpHidden ) ) : @NO,
|
|
NSStringFromSelector( @selector( siteInfoHidden ) ) : @YES,
|
|
NSStringFromSelector( @selector( showSetup ) ) : @YES,
|
|
NSStringFromSelector( @selector( appleID ) ) : @"510296984",
|
|
NSStringFromSelector( @selector( actionsTipShown ) ) : @(!self.firstRun),
|
|
NSStringFromSelector( @selector( typeTipShown ) ) : @(!self.firstRun),
|
|
NSStringFromSelector( @selector( loginNameTipShown ) ) : @NO,
|
|
NSStringFromSelector( @selector( traceMode ) ) : @NO,
|
|
NSStringFromSelector( @selector( dictationSearch ) ) : @NO,
|
|
NSStringFromSelector( @selector( allowDowngrade ) ) : @NO,
|
|
}];
|
|
|
|
return self;
|
|
}
|
|
|
|
@end
|