Re: weird refresh problem with installer plugin
Re: weird refresh problem with installer plugin
- Subject: Re: weird refresh problem with installer plugin
- From: Paul Miller <email@hidden>
- Date: Wed, 09 Jul 2008 07:27:55 -0500
Michael Wu wrote:
where do your set up your delegate for your tableView? You may also
want to check with Cocoa Dev list for your crash...
I set the delegate (and dataSource) to my InstallerPane in Interface
Builder.
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
--
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