I've just updated Xcode to 9.3 and I've noticed that "Open Quickly" ( cmdshiftO) interface have reverted to white theme (instead of black on previous versions, which obeyed my Mac's color theme, which is dark):
My Mac's theme is the dark theme and, for example, Spotlight Search obeys it:
Xcode's Open Quickly was also dark like Spotlight Search too, until I updated. Why would have it turned to light theme and how do I make it obey the system theme again?
Using hotkeys is quick and convenient. Pressing Command + Shift + A will help you switch between light and dark mode in the blink of an eye.
Go to the attributes inspector and select 'Any, Dark' in the appearance option. Now you can set the dark appearance color! Enable dark appearance for each color in Xcode.
iOS Simulator can toggle between light and dark mode with ⌘ - command + ⇧ - shift + a shortcut. Views from both view controllers change simultaneously.
Xcode 10 have Light(default) and Dark (default) theme, in the editor menu on Xcode 10.
As far as I know there's no easy way to get back the dark theme. It's possible, but it involves unsigning Xcode and byte patching the DVTKit
binary that's in the Xcode bundle. I wrote a blog post about this a few days ago. In summary, to get back the dark Open Quickly theme in Xcode 9.3*, perform the following steps (at your own risk):
Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
in Hex Fiend.0x00000000000163cd
using Edit > Jump to Offset.31
with 09
.$ unsign Xcode.app/Contents/MacOS/Xcode
. This will produce a new binary.$ mv Xcode.app/Contents/MacOS/Xcode.unsigned Xcode.app/Contents/MacOS/Xcode
* Only tested on Xcode 9.3 (9E145) downloaded from the Apple Developer Portal
With that said, it's probably not worth the effort :-) Since the dark theme is still there (but disabled) I would expect it to return in one of the next Xcode releases. It might even be there in the Xcode 9.4 beta (I haven't tried it yet).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With