Where did the Object Library go in Xcode 10?

HuaTham picture HuaTham · Jun 21, 2018 · Viewed 68k times · Source

In Xcode 10, where is the Object Library which shows view and controller objects, code snippets and media that used to appear towards the lower right corner in Xcode 9 and older?

Xcode 9:

Xcode project window showing object library

Xcode 10:

Xcode project window showing the same space as the Xcode 9 window, empty

Answer

HuaTham picture HuaTham · Jun 21, 2018

Shortcuts:

  • Shift + Command + L: Show Library.

  • Shift + Command + M: Show Media Library.


Xcode 10 has added a toolbar button to access the Object Library.

enter image description here

From a thread on Apple Developer Forum:

Library content has moved from the bottom of the Inspector area to an overlay window, which can be moved and resized like Spotlight search. It dismisses once items are dragged, but holding the Option key before dragging will keep the library open for an additional drag.

The library can be opened via a new toolbar button, the View > Libraries menu, or the ⇧⌘L keyboard shortcut. Content dynamically matches the active editor, so the same UI provides access to code snippets, Interface Builder, SpriteKit, or SceneKit items. The media library is available via a long press on the toolbar button, the View > Libraries menu, or the ⇧⌘M keyboard shortcut. (37318979, 39885726)