site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com User-agent: Thunderbird 2.0.0.14 (Windows/20080421) Turned out to be a messed-up retain count. Thanks for the tip! Odd that the view refreshes properly if I build it in willEnterPane. -- 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... Stéphane Sudre wrote: On Jul 8, 2008, at 9:29 PM, Paul Miller wrote: Got this all working and building a datasource for a NSTableView which shows the supported applications. The first column uses a Checkbox formatter so it can be toggled on/off. I've implemented a tableView:setObjectValue:forTableColumn:row method but when I click on one of the check-boxes, it is never called, and the app crashes down in objc_msgSend in [NSCell setObjectValue:]. Any idea what I'm missing here? Source code used in your tableView:setObjectValue:forTableColumn:row implementation. It could be an issue with the retain counts of some data. Seeing the source could help. Regarding the willEnterPane and didEnterPane issues, the names of the method can mean that willEnterPane is called before the pane is displayed. And didEnterPane, that the pane is now displayed. Now my only problem is getting the NSTableView to refresh when I change the items. This includes when I click on a checkbox and update the internal state - the view doesn't update. When I build the table in my didEnterPane (actually, selectors invoked from within there from a query), the items do actually end up in the table - if I click on the empty area in the table where I know they will be they show up. So something is preventing the table from refreshing itself completely. I'm happy to post full source to what I have so far if someone would be willing to take a look. This email sent to site_archiver@lists.apple.com