Keyboard shortcut for object library search field in xcode

Is there a key combination that will directly place the cursor in the search field of the object library. Whenever I want to add a new view, I drag the mouse to the lower right corner and click on the search field to search for objects such as "button" "label" instead, I look for a key combination.

+10
source share
5 answers

Update for Xcode 10

Keyboard shortcuts to open the object library:

Command + Shift + L


Old

In the object library, you can set focus directly on the object, simply by pressing a specific key for the object from the keyboard,

Focus on the object library โŒƒโŒฅโŒ˜ 3 / Command + Option - Ctrl +3

If you want UIButton, just press B , and focus on UIButton.

You do not need to search in the search bar every time.

Or

You can change the gridview of the object library so that you can see more controls at the same time, enter image description here

Than you will see how

enter image description here

+6
source

Instructions for Xcode 10:

Keyboard shortcuts to open the object library:

Shift + Command + L

Or from Xcode:

View โ†’ Libraries โ†’ Show Library

like the following image:

enter image description here

+23
source

There is an easier way than the accepted answer.

Command + option + L

Something else that I just found out. Pressing the enter key after selecting an object in the panel of the object library will add it to the storyboard inside the currently selected view.

+3
source

All instructions for using the library for xCode version 10 and higher

  1. If you have a cursor on the storyboard, you will see a library of objects and can be accessed using the shortcut

Command + option + L

enter image description here

  1. If you have a cursor on your Class file, you will see the Code Library, and short will be the same

Command + option + L

enter image description here

  1. The music library can be accessed from anywhere using the shortcut

Command + option + M

enter image description here

or holding the left mouse button over the library icon

enter image description here

I hope you have all the answers you were looking for, have a nice day !

+1
source

from Xcode 10:

  โ‡งโŒ˜L Objects (cursor in storyboard), Snippets (cursor in assistant editor) โ‡งโŒ˜M Media library esc to escape this pop overs. shift command L : library objects/ code snippets shift command M : media library 
+1
source

All Articles