• 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: [Q] how to tell when drawing is done?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] how to tell when drawing is done?


  • Subject: Re: [Q] how to tell when drawing is done?
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 4 Feb 2004 10:44:44 -0800

On Feb 4, 2004, at 10:03 AM, Steve Christensen wrote:
Is there a way to tell when all subviews of a certain view have completed drawing themselves?
I have a NSWindowController managing a window that contains a NSTabView that contains NSTableViews as subviews. When I switch to a new tab (usually the first time), it's possible that the data source supplying the table could take a little while to get its data in order. I'd like to display a spinning NSProgressIndicator while all this is going on until the views finish drawing.
I have no problem starting up the indicator in the tab view's tabView:willSelectTabViewItem: delegate method, but I don't know where to stop it. Ideas?

How long does the drawing itself take to do? I'd guess less time than retrieving the data? So you might want to stop when the data has been fetched? What object does the fetching? It could send either a message directly, or a notification...

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: [Q] how to tell when drawing is done?
      • From: Steve Christensen <email@hidden>
References: 
 >[Q] how to tell when drawing is done? (From: Steve Christensen <email@hidden>)

  • Prev by Date: Re: [Q] how to tell when drawing is done?
  • Next by Date: Re: Insert two objects under the same column
  • Previous by thread: Re: [Q] how to tell when drawing is done?
  • Next by thread: Re: [Q] how to tell when drawing is done?
  • Index(es):
    • Date
    • Thread