• 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: Programmatic Toolbar Blinking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatic Toolbar Blinking


  • Subject: Re: Programmatic Toolbar Blinking
  • From: Richard Somers <email@hidden>
  • Date: Fri, 5 Nov 2010 17:05:21 -0600

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 controller's 'awakeFromNib' and got the same results.

The only thing hooked up to the toolbar are the toolbar delegate methods in the window controller.

The window (actually a panel) in the nib is set to be visible at launch.

It is a very simple window and process. Not much of any thing is currently going on with the window, just a panel, a toolbar with two toolbar items, and a NSBox in the window. It has me stumped.

--Richard Somers

On Nov 5, 2010, at 4:31 PM, John Pannell wrote:

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 screen: are you getting everything toolbar related hooked up before issuing a showWindow message? Is the window in a nib and set to appear at launch? Perhaps there is some way you can make sure the toolbar config is happening before the window gets onscreen.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Programmatic Toolbar Blinking
      • From: Quincey Morris <email@hidden>
References: 
 >Programmatic Toolbar Blinking (From: Richard Somers <email@hidden>)
 >Re: Programmatic Toolbar Blinking (From: John Pannell <email@hidden>)

  • Prev by Date: RE: CoreData models as structures
  • Next by Date: Re: NSColorWell in a NSTableView
  • Previous by thread: Re: Programmatic Toolbar Blinking
  • Next by thread: Re: Programmatic Toolbar Blinking
  • Index(es):
    • Date
    • Thread