• R/O
  • HTTP
  • SSH
  • HTTPS

提交

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

修訂094bc23e6ea3172943683bc1132c94001efa5fc1 (tree)
時間2011-05-09 23:51:34
作者masakih <masakih@user...>
Commitermasakih

Log Message

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

Change Summary

差異

--- 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 /**