FROM : Kyle Sluder
DATE : Thu Feb 28 20:52:19 2008
On Mon, Feb 25, 2008 at 12:19 PM, Jacob Lukas
<<email_removed>> wrote:
> I had this problem as well. The fix for me was to not show the window
> during awakeFromNib, but rather let the window be cascaded and shown
> automatically. It seems that if the window is already visible before
> it has been cascaded, the cascading step is skipped.
Similarly, I have found that things work better if you ensure "visible
at launch" is unchecked for your document's window.
NSWindowController will take care of displaying the window for you if
it's appropriate, and seems to do a bit of thinking about what it
does.
--Kyle Sluder
DATE : Thu Feb 28 20:52:19 2008
On Mon, Feb 25, 2008 at 12:19 PM, Jacob Lukas
<<email_removed>> wrote:
> I had this problem as well. The fix for me was to not show the window
> during awakeFromNib, but rather let the window be cascaded and shown
> automatically. It seems that if the window is already visible before
> it has been cascaded, the cascading step is skipped.
Similarly, I have found that things work better if you ensure "visible
at launch" is unchecked for your document's window.
NSWindowController will take care of displaying the window for you if
it's appropriate, and seems to do a bit of thinking about what it
does.
--Kyle Sluder
| Related mails | Author | Date |
|---|---|---|
| perego | Feb 25, 10:51 | |
| Boyd Collier | Feb 25, 18:01 | |
| Jacob Lukas | Feb 25, 18:19 | |
| Kyle Sluder | Feb 28, 20:52 |






Cocoa mail archive

