Re: doubleClick and tableView Trouble
Re: doubleClick and tableView Trouble
- Subject: Re: doubleClick and tableView Trouble
- From: "Charles Moore Jr." <email@hidden>
- Date: Wed, 1 Feb 2006 16:22:36 -0600
I'm assuming you have things bound through an NSArrayController and
KVO coding, no? If that's the case, you actually want to do
selection through your array controller as in:
NSArray *sortedArray = [myArrayController
arrangeObjects:myObjectArray];
int row = [myTableView clickedRow];
Object *myObject = [sortedArray objectAtIndex:row];
Now you should have the correct object.
HTH,
GZ
done. works perfectly now.
thanks...
cm
----------------------------------
Charles Moore
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden