• 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
IB 3.0 with Custom Window Controller Weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB 3.0 with Custom Window Controller Weirdness


  • Subject: IB 3.0 with Custom Window Controller Weirdness
  • From: Karl Moskowski <email@hidden>
  • Date: Wed, 23 Apr 2008 11:14:27 -0400

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/>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Jonathan Hess <email@hidden>
  • Prev by Date: Re: IB question
  • Next by Date: Re: File has been changed by another application
  • Previous by thread: Re: IB question
  • Next by thread: Re: IB 3.0 with Custom Window Controller Weirdness
  • Index(es):
    • Date
    • Thread