• 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: Searching for multiple instances of an application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching for multiple instances of an application?


  • Subject: Re: Searching for multiple instances of an application?
  • From: Paul Miller <email@hidden>
  • Date: Wed, 09 Jul 2008 07:49:18 -0500

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.

Turned out to be a messed-up retain count. Thanks for the tip!

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.

Odd that the view refreshes properly if I build it in willEnterPane.

I'm happy to post full source to what I have so far if someone would be willing to take a look.

--
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


References: 
 >Searching for multiple instances of an application? (From: Paul Miller <email@hidden>)
 >Re: Searching for multiple instances of an application? (From: Karl Kuehn <email@hidden>)
 >Re: Searching for multiple instances of an application? (From: Paul Miller <email@hidden>)
 >Re: Searching for multiple instances of an application? (From: Mark Krenek <email@hidden>)
 >Re: Searching for multiple instances of an application? (From: Paul Miller <email@hidden>)
 >Re: Searching for multiple instances of an application? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: weird refresh problem with installer plugin
  • Next by Date: how to add more then two installer plugins in package maker
  • Previous by thread: Re: Searching for multiple instances of an application?
  • Next by thread: Component with helper application install
  • Index(es):
    • Date
    • Thread