All of a sudden, the visual design window disappeared from my Interface Builder. It is a regular UIView, has some UIImageView, UILabel, and UIButtons on it. When I open IB, I can see the document window (with File's Owner, First Responder and View in it), Library and Inspector, but the visual design window disappeared. Double click on "View" in the document window doesn't do anything. If I go to List mode, I can see all the components on the view, but just can no longer find the visual design window. All other XIB can open just fine, only this XIB lost its design window.
First I thought maybe it was hidden somewhere on the screen. Tried all kinds of things, even rebooting the computer, but nothing helped.
Can anyone help? Thanks in advance! By the way, I'm running SDK 3.2 Beta 3.
Does it show up in Exposé? Does the inspector show its properties when you double click on the view? I’m just wondering if the view’s editor window has somehow been moved offscreen.
Here’s an idea. XIB files are just XML. You should be able to open it in a text editor and change the window’s location. Search for the string “>{{”, which should match against encoded NSRects. See if you can find a rect with an origin that would put it offscreen.
For whatever reason what worked for me was: double click the "View" icon, press CMD-w, double-click "View" again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With