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

Re: weird refresh problem with installer plugin


  • Subject: Re: weird refresh problem with installer plugin
  • From: Michael Wu <email@hidden>
  • Date: Tue, 8 Jul 2008 19:17:22 -0400

where do your set up your delegate for your tableView? You may also want to check with Cocoa Dev list for your crash...

On Jul 8, 2008, at 4:26 PM, Paul Miller wrote:

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

_______________________________________________ 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: Paul Miller <email@hidden>
References: 
 >weird refresh problem with installer plugin (From: Paul Miller <email@hidden>)

  • Prev by Date: weird refresh problem with installer plugin
  • Next by Date: Re: Component with helper application install
  • Previous by thread: weird refresh problem with installer plugin
  • Next by thread: Re: weird refresh problem with installer plugin
  • Index(es):
    • Date
    • Thread