Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

manual option is not showing in Xcode 11 assistant editor and how to add IBOutlet?

Tags:

like in this image there is not a option of choosing "manual"

I recently updated to Xcode 11 and some of its user interface changed. in older version of Xcode there was options of accessing files in assistant editor using automatic or manual. but in this version of Xcode I can't see any manual option in assistant editor. so I am not able to add IBOutlet and IBAction methods to particular storyboard.

so can anyone tell me how to add these actions and outlets, that would be great help. thanks

like image 651
Squared Avatar asked Sep 26 '19 10:09

Squared


People also ask

How do I show the assistant Editor in Xcode 11?

Assistant Editor The Assistant Editor is harder to find as of Xcode 11 even though it is incredibly useful. Press Control + Option + Command + Return to show the Assistant Editor on the right.

How do I add assistant Editor in Xcode?

You can open the editor from the Xcode menu Editor -> Assisant . Nowadays, the Assistant Editor is more seen as just a second editor next to the primary editor.

How does Xcode choose assistant?

You can still ctrl+drag from storyboard to the class by the Adjust Editor button in the upper right of the storyboard. Then just select Assistant Editor on the list.

Where is the assistant Editor in Xcode 12?

12 June 2018 You can open the 'Assistant Editor' in Xcode by clicking the button with two circles in the top right, or via View > Assistant Editor > Show Assistant Editor.


2 Answers

enter image description here

By pressing the above button, Xcode will split the view and allow you to select a custom file using the file tree at the top.

like image 60
Eilon Avatar answered Nov 01 '22 00:11

Eilon


You are correct.

The Manual option is no longer visible. You can still achieve the same result by doing a quick open using Cmd+Shift+O then type the name of any file you want to open. Press the Alt key and the file will open in the Assistant Editor Window.

As others have noted the new add editor button allows you to add new editors and open files into them. You could file a bug report but you may want to consider that you're likely to get a "works as designed" type of reply.

You can always change or add new keyboard shortcuts to get the behavior you want by viewing the preferences key bindings area and search for the command you want to shortcut.

Note

You can still ctrl+drag from storyboard to the class by the Adjust Editor button in the upper right of the storyboard. Then just select Assistant Editor on the list. After which you can make IBOutlets/IBActions.

like image 37
Tommie C. Avatar answered Oct 31 '22 22:10

Tommie C.