weird refresh problem with installer plugin
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