• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IB 3.0 with Custom Window Controller Weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: IB 3.0 with Custom Window Controller Weirdness
      • From: Karl Moskowski <email@hidden>
References: 
 >IB 3.0 with Custom Window Controller Weirdness (From: Karl Moskowski <email@hidden>)

  • Prev by Date: Re: File has been changed by another application
  • Next by Date: Re: IB 3.0 with Custom Window Controller Weirdness
  • Previous by thread: IB 3.0 with Custom Window Controller Weirdness
  • Next by thread: Re: IB 3.0 with Custom Window Controller Weirdness
  • Index(es):
    • Date
    • Thread