• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

iSightを使ってBooklog,MediaMarkerインポート用CSVファイルを生成するアプリ


Commit MetaInfo

Revisão094bc23e6ea3172943683bc1132c94001efa5fc1 (tree)
Hora2011-05-09 23:51:34
Autormasakih <masakih@user...>
Commitermasakih

Mensagem de Log

[New] 自動ルックアップのデフォルト値をYESに。

Mudança Sumário

Diff

--- a/BEApplicationDelegate.m
+++ b/BEApplicationDelegate.m
@@ -15,13 +15,12 @@
1515 @implementation BEApplicationDelegate
1616 + (void)initialize
1717 {
18-// NSArray *sites = [BERegisterSite sites];
19-// NSDictionary *userDefaultsValuesDict;
20-// NSData *site = [NSKeyedArchiver archivedDataWithRootObject:[sites objectAtIndex:0]];
21-// userDefaultsValuesDict = [NSDictionary dictionaryWithObjectsAndKeys:site, BEOpenSite, nil];
22-// [[NSUserDefaults standardUserDefaults] registerDefaults:userDefaultsValuesDict];
18+ NSDictionary *userDefaultsValuesDict;
19+ NSNumber *yes = [NSNumber numberWithBool:YES];
20+ userDefaultsValuesDict = [NSDictionary dictionaryWithObjectsAndKeys:yes, BEAutoLookup, nil];
21+ [[NSUserDefaults standardUserDefaults] registerDefaults:userDefaultsValuesDict];
2322
24-// [[NSUserDefaultsController sharedUserDefaultsController] setInitialValues:userDefaultsValuesDict];
23+ [[NSUserDefaultsController sharedUserDefaultsController] setInitialValues:userDefaultsValuesDict];
2524 }
2625
2726 /**