Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6 how to enable storyboard zoom?

I've updated to Xcode 6 beta 3 and see that the [+ = -] buttons in the storyboard corner are gone. Is there a way for me to zoom in and out on view controllers within a storyboard in Xcode 6?

like image 405
Alex Stone Avatar asked Jul 08 '14 14:07

Alex Stone


People also ask

Why is Main storyboard not showing up in Xcode?

You have SwiftUI enabled in your project, which does not use storyboards anymore. Your layout is inside the ContentView. swift file. If you do want to work the old way, with storyboards, you should uncheck 'Use SwiftUI' in the project creation screen.

How do I see storyboard in Xcode?

To get this, open the storyboard, click the 'assistant' editor, click the 'assistant editor menu button' (immediately to the right of the > arrow at the top left of the assistant window) and select Preview.

How do I add views to my storyboard?

Specifying the Initial View Controllerstoryboard and select the Tab Bar Controller Scene. On the right, select the Attribute inspector. You'll find a checkbox named Is Initial View Controller. Checking this box will identify the selected view controller as the initial entry point for the storyboard you're on.


1 Answers

You can zoom the storyboard by double-click canvas or using top-menu(Editor > Canvas > Zoom).

Alternatively: Right click blank space on canvas and choose zoom level (allows to zoom out further than double click)

enter image description here

like image 83
joyeon Avatar answered Oct 04 '22 00:10

joyeon