• 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: Further NSWindow and NSWindowController problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Further NSWindow and NSWindowController problems


  • Subject: Re: Further NSWindow and NSWindowController problems
  • From: kristin <email@hidden>
  • Date: Tue, 19 Jun 2001 09:37:22 -0700

Hi Rob,

I'm not sure what would cause your window to disappear immediately after opening. Do you have any delegate code that might order out the window in response to some notification?

Most of those flags you can set for the window in IB correspond to methods in NSWindow. For example, setting the OneShot attribute causes -[NSWindow setOneShot:YES] to be called, and setting the Deferred attribute causes YES to be passed for the "defer" parameter in the window initializer. You can find documentation for these methods in NSWindow, although I am going to (preemptively) agree that it would be nice to have them documented under IB itself.

Kristin

On Monday, June 18, 2001, at 10:55 PM, Rob Rix wrote:

Okay, I got the bit with the [someController window] bit fixed, but now I have another problem:
Selecting the New item from the File menu opens a new window as it should (complete with the appropriate contents), but it immediately disappears again.

In IB, both Deferred and One Shot are checked on the window.
Speaking of that, is there a handy reference that explains what all of those (Deferred, One Shot, et cetera) mean?

-- Rob

Flying is not difficult. Surviving the (crash) landing is difficult.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Further NSWindow and NSWindowController problems (From: Rob Rix <email@hidden>)

  • Prev by Date: Re: NSDictionary and XML-format property lists
  • Next by Date: Re: NSDictionary and XML-format property lists
  • Previous by thread: Further NSWindow and NSWindowController problems
  • Next by thread: Re: Further NSWindow and NSWindowController problems
  • Index(es):
    • Date
    • Thread