Location of Xcode Derived Data

Usually Cmd + Shift + K will do a clean but if not, the derived data is in ~/Library/Develop/Xcode/DerivedData cd into that directory and do rm -r [directory name]

Published
Categorized as hints Tagged

Embed Tab Bar Controller in Navigation Controller

I don’t think you’re really supposed to do this since the option is grayed out in Xcode when you select Editor -> Embed in Navigation Controller, but a hacky way to get around it is to control-drag from a free-standing Navigation Controller to the Tab Bar Controller and select “root view controller.”

Add Tab to Tab Bar Controller

Control-click from the Tab Bar Controller to the controller you want to be the new tab and select “view controllers.”

Create keyboard shortcut to toggle Document Outline in Xcode

In Xcode, open Preferences and go to the “Key Bindings” section. Type “outline” in the search filter box. Select “Show Document Outline” and double-click to the right, in the “Key” column. A text box should appear and you can type in your new shortcut. I used Cmd+9.