How to detect if OS X is in dark mode?
Don’t think there’s a cocoa way of detecting it yet, however you can use defaults read to check whether or not OSX is in dark mode. defaults read -g AppleInterfaceStyle Either returns Dark (dark mode) or returns domain pair does not exist. EDIT: As Ken Thomases said you can access .GlobalPreferences via NSUserDefaults, so NSString … Read more