Is it possible to disable Swift documentation in Xcode?

3 Solutions Collect From Internet About “Is it possible to disable Swift documentation in Xcode?”

The documentation is just a set of HTML files. If it’s downloaded, you can edit a CSS file to completely hide Swift or Objective-C code.

  1. Open Documentation window.
  2. Select “Editor” > “Share” > “Open in Browser” menu.
  3. Copy the corresponding part of the address of the page that opens up:


  1. Switch to Finder, and use “Go” > “Go to Folder” menu to open up the folder.

  2. Browse to Resources/XXXX/CSS folder and edit “xcode5.css” file. You should add either of these blocks to hide Swift or Objective-C:

div .Swift {
    display: none !important;
div .Objective-C {
    display: none !important;
  1. Restart Xcode and enjoy reduced clutter.

I highly recommend Dash to address this and several other weaknesses in the Xcode doc browser. The current Mac Store version doesn’t handle it quite right yet, but when the current beta (2.2) is approved, it’ll let you choose which languages to display just as you suggest.

It is not possible, and the idea of making it possible would be an excellent enhancement request in a bug report to Apple.