Problem solved. Thank you so much Quincey.
Uncheck "Visible At Launch" for the window in Interface Builder and
the problem is fixed. Actually the tool tip for "Visible At Launch"
says it all. "Indicates whether the window is (immediately) visible
when the NIB is loaded." The tool tip is the
On Nov 5, 2010, at 16:05, Richard Somers wrote:
> The window (actually a panel) in the nib is set to be visible at launch.
Why? I can't think of any good reason to leave "visible at launch" checked,
especially if the window has a window controller. In any case, you have code to
show the window,
Hello John,
I show the window like this.
// App controller
- (void)showMyWindow:(id)sender
{
if (!_myWindowController) {
_myWindowController = [[MyWindowController alloc] init];
}
[_myWindowController showWindow:self];
}
I tried installing the toolbar in the window cont
Hi Richard-
No answers, just a datapoint... I looked at a couple of my apps (which have
never had the blinking issue, to my eye): one did the toolbar assignment in the
window controller's awakeFromNib, the other did it in windowDidLoad.
Not knowing the mechanics of how your window gets on the s
I have a custom window controller that loads a nib file, then
programmatically installs a toolbar. The first time the window is
displayed on screen it blinks. The window is drawn without the
toolbar, then it is drawn again with the toolbar. Visually is is like
a blink.
// NSWindowControll