Re: weird refresh problem with installer plugin
site_archiver@lists.apple.com Delivered-To: Installer-dev@lists.apple.com User-agent: Thunderbird 2.0.0.14 (Windows/20080421) On Jul 8, 2008, at 4:26 PM, Paul Miller wrote: -- Paul Miller | paul@fxtech.com | www.fxtech.com | Got Tivo? -- Paul Miller | paul@fxtech.com | www.fxtech.com | Got Tivo? _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... 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. 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? _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/mwu%40rochester.rr.com This email sent to mwu@rochester.rr.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Miller