Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display "the" Assistant Editor?

Tags:

xcode

https://web.archive.org/web/20110604185120/http://developer.apple.com/library/ios/documentation/iphone/conceptual/iPhone101/Articles/05_ConfiguringView.html

To add an action for the button . . .

  1. In Xcode, select the view controller’s nib file (MyViewController.xib).
  2. Display the Assistant editor.
  3. Make sure Assistant displays the view controller’s header file (MyViewController.h).
  4. Control drag from the button in the nib file to the method declaration area in the header file.

How to do step 2?

How to display "the" Assistant Editor?

like image 639
user4951 Avatar asked Apr 11 '11 17:04

user4951


People also ask

How do I open the editor assistant?

control + option + command + return : Show Assistant Editor.

How do I open the assistant editor in Xcode shortcut?

Assistant Editor You are probably already familiar with Xcode's Assistant Editor. You can open the Assistant Editor by choosing Assistant from Xcode's Editor menu or by using its keyboard shortcut, Control + Option + Command + Return. Most developers leave the Assistant Editor underused, though.

How do I open an assistant editor in Swift?

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.


3 Answers

It's exclusive to Xcode 4:

assistant editor

like image 194
David Avatar answered Sep 21 '22 17:09

David


In Xcode 6

enter image description here

It is the second button with two circles.

like image 29
Pavan Avatar answered Sep 21 '22 17:09

Pavan


EDIT: As of the latest version of Xcode this has changed.

In XCode 6.2 it seems they've changed the icons again. I was having trouble finding it but I didn't realize where the buttons were until the dumb old me trying to pick up iOS thought I was missing a view, so here I am posting this for any passerby who needs some visual confirmation.

To be fair, I was looking for something based of some instructions I had read that referenced the two circles, and it didn't occur to me that two circles meant a split view / assistant editor, and not until after finding this post and figuring it out did I realize a suit was a reference to a butler AKA assistant :D

xcode 6.2 assistant editor

like image 20
jdero Avatar answered Sep 22 '22 17:09

jdero