button cell - selection change timing
button cell - selection change timing
- Subject: button cell - selection change timing
- From: Rainer Standke <email@hidden>
- Date: Sun, 27 Dec 2009 18:00:59 -0800
Hello all,
I have a table view with a column that holds a button cell. When the
user clicks the button I need to open a web browser with an URL that
is stored in the object represented by the table view's row. All of
this is in a Core Data app.
When the button is clicked in a row that is already selected
everything works as expected.
When the user clicks a button in a row that is currently not selected,
then I get the URL for the row that's in the process of being de-
selected, because the method targeted by the button runs before the
selection has changed to the new row.
What can I do about this?
Thanks,
Rainer
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden