Re: Cocoa-dev Digest, Vol 5, Issue 321

  • Visible at launch is not checked.

    But are you suggesting that you cannot configure the window prior to
    displaying it? Or do you distinguish "load" from "display"? I'm
    trying to load it into memory, alter it, and then display.

    Judging from debug sessions, the window and other top level objects
    (not to mention all the outlets) only come to life (get their
    addresses assigned) on entering awakeFromNib.

    On Feb 29, 2008, at 8:57 AM, <cocoa-dev-request...> wrote:

    >> In other words, the window loads right away. I actually don't want
    >> it to load until I have set the local data, as it is the local data
    >> that will determine how the window should appear. Is there a way to
    >> sneak the data in in before all the loading takes place?
    >
    > Are you sure "Visible at launch" isn't checked for the window in IB?
    >
    > Note that it's ultimately not important whether you give the "local
    > data copy" to the window controller before or after the window is
    > loaded. You can't actually modify the window until after it's loaded.
  • On Feb 29, 2008, at 06:09, Daniel Child wrote:

    > But are you suggesting that you cannot configure the window prior to
    > displaying it? Or do you distinguish "load" from "display"? I'm
    > trying to load it into memory, alter it, and then display.
    >

    I was distinguishing "load" from "display". You had said that the
    window was getting loaded too early, and my point was that you
    wouldn't care exactly when the window got loaded, just so long as you
    could change it before it was displayed. Did you mean to say that the
    window got displayed too early?