• 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
weird refresh problem with installer plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

weird refresh problem with installer plugin


  • Subject: weird refresh problem with installer plugin
  • From: Paul Miller <email@hidden>
  • Date: Tue, 08 Jul 2008 15:26:06 -0500

I don't know if this is a problem specific to installer plugins or something else, but parts of my custom installer plugin UI are not refreshing properly.

My view contains an NSTableView which will contain the results of a query, and a progress indicator (spinner) which is shown while the query executes. My pane is the dataSource for the table view.

I'm starting the query with NSMetadataQuery and then starting animation on the NSProgressIndicator using startAnimation. When the query finishes, I stop the progress indicator and populate the view using reloadData.

When I do the above in willEnterPane, the progress indicator never updates, but once the query is done, the view updates as expected (though I have that crash problem I reported earlier when I try to interact with the view).

When I do the above in didEnterPane, the progress indicator spins (yay!) but once the query is done, it goes away and my table view does NOT update after calling reloadData.

I might be fairly new to Cocoa but I've found myself making great progress, only to be stymied by somewhat bizarre and unexplained gotchas. What am I missing?

--
Paul Miller | email@hidden | www.fxtech.com | Got Tivo?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: weird refresh problem with installer plugin
      • From: Michael Wu <email@hidden>
  • Prev by Date: Re: Searching for multiple instances of an application?
  • Next by Date: Re: weird refresh problem with installer plugin
  • Previous by thread: Re: Component with helper application install
  • Next by thread: Re: weird refresh problem with installer plugin
  • Index(es):
    • Date
    • Thread