
Open items quickly in an app playground in Swift Playground on iPad
While you’re working in an app Swift Playground can quickly locate and open items using keyboard shortcuts, toolbar buttons, and quick actions.
Add toolbar buttons for opening items quickly
You can add buttons to the toolbar (at the top of the screen) for opening items quickly and performing quick actions.
In an open app playground in the Swift Playground app
on your iPad, tap or click
at the top right of the screen.
Choose Customize Toolbar, then do any of the following:
Drag
to the toolbar to add a button for opening items quickly.
Drag
to the toolbar to add a button for performing quick actions.
Drag
to the toolbar to add a button for quickly jumping to a specific line of code.
Tap or click Done.
Open items quickly
In an open app playground in the Swift Playground app
on your iPad, do any of the following to open a list of items:
Add toolbar buttons for opening items quickly, then tap or click
in the toolbar.
Press Shift-Command-O.
Start typing the name of the item to see a list that includes Swift files, symbols, and other assets.
Tap or click an item in the list to open it. (Or press Return to open the selected item.)
To close the list, tap or click outside it.
Perform quick actions
In the Swift Playground app
on your iPad, do any of the following to open a list of quick actions:
Add toolbar buttons for opening items quickly, then tap or click
in the toolbar.
Press Shift-Command-A.
Tap or click a quick action in the list.
(Or, to close the list, tap or click outside it.)
Jump to a line of code
In an open app playground in the Swift Playground app
on your iPad, do any of the following to jump to a line of code:
Add toolbar buttons for opening items quickly, then tap or click Swift Playground in the toolbar.
Press Command-L.
Type the number of the line you want to jump to, then press Return.
(Or, to close the field, tap or click outside it.)