FIXED: XCC Preferences Coherency

This patch fixes various UX weirdness with preferences and makes everything aligned.
This commit is contained in:
Antoine Mercadal
2014-04-21 16:59:06 -07:00
parent eaa607b48d
commit 14cb6d21a9
7 changed files with 259 additions and 705 deletions
+1 -5
View File
@@ -144,19 +144,15 @@ AppController *SharedAppControllerInstance = nil;
kDefaultXCCAPIMode: [NSNumber numberWithInt:kXCCAPIModeAuto],
kDefaultXCCReactToInodeMod: @YES,
kDefaultXCCReopenLastProject: @YES,
kDefaultXCCAutoOpenErrorsPanelOnWarnings: @YES,
kDefaultXCCAutoOpenErrorsPanelOnErrors: @YES,
kDefaultXCCAutoOpenErrorsPanelOnCappLint: @YES,
kDefaultXCCAutoShowNotificationOnWarnings: @YES,
kDefaultXCCAutoShowNotificationOnErrors: @YES,
kDefaultXCCAutoShowNotificationOnCappLint: @NO,
kDefaultXCCProjectHistory: [NSArray new],
kDefaultMaxRecentProjects: @20,
kDefaultLogLevel: [NSNumber numberWithInt:LOG_LEVEL_WARN],
kDefaultAutoOpenXcodeProject: @YES,
kDefaultShowProcessingNotices: @YES,
kDefaultUseSymlinkWhenCreatingProject: @YES,
KDefaultUsesCappLintForEveryNotifications: @NO
kDefaultUseSymlinkWhenCreatingProject: @YES
};
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];