xcode 3.2.2, can't see nib design view - xcode

I recently updated to xcode 3.2.2 yet now when I click my .xib files, I can't see the view window where I can drag/drop stuff, I only see the inspector panes and can't get the design view to show

Double-click the view in the xib object viewer (normally this would cause the view to appear and become active) and you will see the object viewer lose focus. Press CMD+W (to close the invisible view) and then double-click to open it again. It should appear on your screen now.

Related

How to disable automatically showing the inspector window in Xcode 13

When i hide the inspector window (normally shown on the right side of Xcode) and hover to the right edge of the Xcode Window, the inspector window automatically slides in. How can i prevent xcode from doing this and hide the inspector window permanent?
That is a normal behavior when you use Xcode in full screen mode. If you do not want the inspector to appear on hover, don't use full screen mode. (If you don't like this feature, file an enhancement request with Apple.)

Xcode 6 open Assistant Editor in New Window

I feel like I have read every link on Google pertaining to this question, but none that I have read have helped.
All I want to do is view my Storyboard layout on the left monitor, and on my right monitor, in a new window, have the Assistant Editor open to "Preview" for my Storyboard so that I can preview the different devices sizes (clicking different storyboard views on the left screen should update the assistant editor preview on the right). This seems so simple, but has not proved to be.
Please tell me this is possible.
EDIT: This guy seems to have it working but following the steps didn't work for me.
It's possible.. and it's awesome:
I do have this working after following the instructions linked in the OP. I think the author left out that you need to click on the view controller that you're editing in BOTH instances of the story board window to see the changes update. Then as you're editing on your main window the changes will update to the open storyboard and thus the preview will update as well. I was able to test this and achieved a somewhat desired result.
In case the link goes dead here are the instructions lined out
Here’s how you can set this up…
In the Project Navigator pane, single-click a storyboard/XIB file to open it in the main Xcode window.
Now double-click that same file to open it in a new window.
Move the new window to another monitor and maximize it
(So now you have the story board on 2 windows)
Click on the new window to make sure it has input focus, then type Option+Command+Enter to open an assistant editor in that window.
In the assistant editor’s jump bar click on ‘Automatic‘ to open the drop-down menu (see the screenshot below if you don’t know what this means).
Click on the ‘Preview‘ menu item to open the preview editor.
Click and hold next to the assistant editor’s jump bar, then drag up or left (depending on which editor layout you prefer; vertical or horizontal), to maximize the preview’s screen real estate.
Lastly... the part the author left out is that you need to select the view controller you want to edit in BOTH story board windows and then just drag the preview window to cover more of the screen.
It's not pretty but it's effective.
Edit: wording and grammar :)
This is not currently possible (Xcode 6.3.1 at the time of writing). The best you can do is open your storyboard in one window, open it again in a new window, open the preview, and slide the assistant editor as far left as possible. The preview won't take up the entire window, but it'll be pretty close.

Where is the inspector window in Xcode 4.0.2

Before I used to open the inspector window ( Segmented Control Attributes) like:
Now that I upgrated to Xcode 4.0.2 I have this:
How could I open the Inspector window in Xcode 4.0.2?
I think the problem might be that you've hidden the Utilities view. To re-enable this, simply click on the rightmost of the "View" icons in the main window, as shown below.
Incidentally, if you just single click on the .xib file, it'll open in the main view rather than a new window, which is probably more useful in this instance.

IB complains that a new window has contents that go off screen

Interface Builder gives me a warning about the set up of my .xib file.
It says, in a dialog called "MainMenu.xib Info",
Object: Window
ID: 21
Type: Illegal Configuration
Issue: This window's content rectangle does not lie entirely on the screen with the menu bar and may not be completely visible for all screen resolutions and configurations.
I'm using XCode Version 3.1.2 and Interface Builder version 3.1.2 (677). I verified that I could recreate the issue by creating a new Core Data Application and opening the .xib file. Also interesting is that when I open the .xib file, the main window does not display right away (as it does with other templates), but will come up when I double-click on its representation in the window with the File's Owner, First Responder, etc. It has nothing visible in it (it does have a Content View inside it), and the Inspector shows the size as 213 x 107 (px?).
I see that there is a 3.1.3 version out now, and it does look like a bug in either Interface Builder or the template for a Core Data Application, but, is there any way for me to fix this? Resizing the window doesn't help, and it is not at all clear to me under what conditions the errors and warnings come up (ie. if I have to compile, or if they change just as soon as I adjust the UI.)
Easily fixed.
In Interface builder select the window and then from the inspector go to the window size tab and move the window away from the left edge. This will get rid of the warning.

Preferences Window Problem (Once Open And Closed, Will Not Open Again)

The problem I've got is that when the preferences window is opened and then closed, it will not open again. Why is this happening and how can this be fixed?
EDIT: Just noticed also I've got the same problem with Main Window.
The window is being opened via the menu bar and is in a separate NIB file.
It sounds like you forgot to set the 'window' outlet of your window controller (in the Nib, the File's Owner) to point to your window. Once you connect its 'window' outlet the window controller's showWindow: method will work.
Hard to say without seeing the code, but one possibility is that you have "Release When Closed" checked for the window in Interface Builder, and you are loading it once, caching it, then expecting to be able to close and re-open it without loading from the nib again.
For any other noobs like me, having this issue :)
Don't forget to set the file's owner class to be the same as the controller class, then you can connect the 'window' outlet to the panel.
I encountered this same problem while working on the chapter 12 (Nib Files and NSWindowController) exercise in Aaron Hillegass's Cocoa Programming for Mac OS X book. Doug's answer above was the solution - I hadn't linked the window outlet of the Preferences.xib's file owner to the window itself (in this case the Panel (Preferences) window).
I right clicked on the "File's Owner" in the Preferences.xib file then left-mouse-button dragged from the Window outlet to the Panel (Preferences). Once done and rebuilt the application worked as intended. I could close and reopen the custom preference panel and my previous settings were still there (since the preference window is not unloaded just hidden).

Resources