195

Have been out of Swift coding for almost a year, I'm back.

Download Xcode 10 beta. Have I lost my mind? I've tried every trick I know, none of the UI elements show up in storyboard. Zero. The sidebar is empty.

Xcode 10:

Xcode 10 Screenshot

Xcode 9, no problem there they are, all my UI buttons, etc.

thanks, this is kind of surreal. :-)

pkamb
  • 26,648
  • 20
  • 124
  • 157
Edward Potter
  • 3,578
  • 4
  • 24
  • 34

5 Answers5

264

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 (image attached);

  • the View > Libraries menu;

  • or the ⇧⌘L keyboard shortcut.

enter image description here

AnthoPak
  • 3,531
  • 3
  • 18
  • 34
Evgeny Karkan
  • 7,517
  • 2
  • 22
  • 35
15

Don't scare about you don't find Library, Snippet, Media.

Find Library or Snippet

Show Library

view -> Libraries -> Show Library

enter image description here

enter image description here

Open Library

view -> Libraries -> Show Library + Keyboard(Alt Key)

Shortcut Show Library : Command + Shift + L

Shortcut Open Library : Command + Shift + Alt + L

Note : This is only works when you are in storyboard or xib file, otherwise it will open snippet. Same shortcut will works for open snippet and show snippet

Open/Show Snippet

Same shortcut will works, let me explain.

Just goto(select) .swift file or viewcontrolelr.h file or viewcontroller.m file and fire show library shortcut / open library shortcut it will show Snippet dialog.

Find Media

view -> Libraries -> Show Media

Shortcut Show Library : Command + Shift + M Shortcut Open Library : Command + Shift + Alt + M

Community
  • 1
  • 1
Vivek
  • 3,752
  • 26
  • 34
10

With xCode 11 the icon has changed to + (a plus sign), while cmd+shift+L works as usual.

xCode 11 Screenshot

Aashish
  • 2,164
  • 1
  • 17
  • 22
4

for media library content you should use keyboard shortcut ⇧⌘M

enter image description here

AnthoPak
  • 3,531
  • 3
  • 18
  • 34
Ron Gahlot
  • 1,376
  • 8
  • 16
2

I have just found that it is as per screenshot and it will be opened with given shortcut/hotkey. Simply by dragging UI components to your Storyboard.

Command + Shift + L

enter image description here

enter image description here

Nirav Jain
  • 4,920
  • 5
  • 34
  • 59