Re: IB 3.0 with Custom Window Controller Weirdness
Re: IB 3.0 with Custom Window Controller Weirdness
- Subject: Re: IB 3.0 with Custom Window Controller Weirdness
- From: Jonathan Hess <email@hidden>
- Date: Wed, 23 Apr 2008 12:14:39 -0700
Hey Karl -
This is a bug in IB and the warnings are benign. I believe IB is
confused because it has two competing definitions for one of your
classes, each with a different superclass. It's possible to get a
document into this state by migrating from an IB 2.0 document, and I
think you may also be able to trigger this by manually reading headers
into IB.
We're working on a fix. I don't have a workaround other opening the
document, selecting everything, copying it, and pasting it into a new
document. If you do that, you'll need to re-create the connections to
and from file's owner and first responder.
Jon Hess
On Apr 23, 2008, at 8:14 AM, Karl Moskowski wrote:
In my project, I have a XIB whose owner is a custom
NSWindowController sub-class. (Actually, it's a sub-sub-class - I
have a BaseWindowController which overrides showWindow: to activate
the app first (it's a LSUIElement app that lives in the menu bar),
and I inherit my PrefsWindowController from that.)
The class of my XIB's File's Owner is set to PrefsWindowController.
However, IB 3.0 sometimes seems to forget it's a NSWindowController
sub-class. After cleanining, I sometimes (but not always) get build
warnings from CompileXIB about the showWindow: action or window
outlet not being defined on the file's owner.
If I open the XIB and control+click on the objects, the HUD shows
the missing items in yellow, and IB has a yellow status icon. Also,
upon opening, IB indicates that the file requires saving (the
window's close button has a dot).
Is this a known problem in IB 3.0, or am I missing something?
Thanks.
----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden