Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Move segue lines in Interface Builder

Is it possible to move the lines (representing a segue) connecting the view controllers to make my storyboard more aesthetically pleasing?

I tried a bunch of weird click combinations (or anything that to me would be an obvious way to move the line), to no avail. Any tricks I missed?

like image 576
Aeveus Avatar asked Jul 26 '13 20:07

Aeveus


People also ask

What is the segue identifier in Interface Builder?

The identifier is the unique string you provided for the segue in Interface Builder, and the two other parameters represent the two controller objects in the transition. The presenting view controller’s prepareForSegue:sender: method is called.

What are unwind segues in Interface Builder?

Unwind segues let you dismiss view controllers that have been presented. You create unwind segues in Interface Builder by linking a button or other suitable object to the Exit object of the current view controller.

How do you create a segue in a storyboard?

To create a segue between view controllers in the same storyboard file, Control-click an appropriate element in the first view controller and drag to the target view controller. The starting point of a segue must be a view or object with a defined action, such as a control, bar button item, or gesture recognizer.

How do I create a segue in Visual Studio Code?

The first step, is to create the custom segue in the Interface Builder, so click on the Main.storyboard file in the Project Navigator to open it. Once the interface appears on your screen, open the Document Outline pane (if it’s collapsed).


1 Answers

To my knowledge, the segues are positioned automatically and cannot be moved.

To get aesthetically pleasing storyboards you can only reposition the view controllers which will also change the position of the segues.

If you need the aesthetics because you want to communicate the app structure to third parties, maybe you want to look at different and more suitable tools instead.

like image 110
Mundi Avatar answered Oct 03 '22 21:10

Mundi