PDA

View Full Version : Where is Assistant Editor Located?




teguh123
Apr 11, 2011, 09:43 PM
0 down vote favorite


http://developer.apple.com/library/mac/#documentation/IDEs/Conceptual/Xcode4TransitionGuide/InterfaceBuilder/InterfaceBuilder.html#//apple_ref/doc/uid/TP40009984-CH6-SW2

When you use custom subclasses in your interface, or add outlets and actions to a controller, you can use Assistant to work on your interface design and your interface code at the same time. To do so, select your nib file in the project navigator to open Interface Builder and click the Assistant button to open the Assistant editor pane. If the Assistant editor does not automatically display the header file you want, use the Assistant editor pane jump bar to select the source file containing the controller code for the object. Figure 4-8 shows a window with a graphic view selected in Interface Builder and the header file for the graphic view being chosen from the Automatic mode of Assistant. By default, the Assistant editor pane is displayed below the Interface Builder editor. Choose View > Assistant Layout to switch between a vertical or horizontal split for the two editor panes.

Now, where the hell is this Assistant button to open the Assistant Editor pane?


http://developer.apple.com/library/ios/#DOCUMENTATION/iPhone/Conceptual/iPhone101/Articles/05_ConfiguringView.html

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?



chown33
Apr 12, 2011, 12:17 PM
Now, where the hell is this Assistant button to open the Assistant Editor pane?

Google search terms: "assistant button" site:developer.apple.com

Top hit: Xcode 4 Transition Guide, Orientation to Xcode 4 (http://developer.apple.com/library/mac/#documentation/IDEs/Conceptual/Xcode4TransitionGuide/Orientation/Orientation.html%23//apple_ref/doc/uid/TP40009984-CH5-SW50)

Find first occurrence of assistant button on page.

Observe Figure 3-29.

teguh123
Apr 14, 2011, 12:37 PM
Got that . All this time I thought I am the one using xcode 4 and the sample is the one using 3.2.

Then I figured out
Google search terms: "assistant button" site:developer.apple.com

Top hit: Xcode 4 Transition Guide, Orientation to Xcode 4 (http://developer.apple.com/library/mac/#documentation/IDEs/Conceptual/Xcode4TransitionGuide/Orientation/Orientation.html%23//apple_ref/doc/uid/TP40009984-CH5-SW50)

Find first occurrence of assistant button on page.

Observe Figure 3-29.