Re: Access to DataSource objects from NSTableView
Re: Access to DataSource objects from NSTableView
- Subject: Re: Access to DataSource objects from NSTableView
- From: "I. Savant" <email@hidden>
- Date: Fri, 21 Jul 2006 13:28:52 -0400
How about NSArrayController's -selectedObjects, -selectionIndex,
and -selectionIndexes methods? They're all great ways of determining
the current selection. :-)
--
I.S.
On Jul 21, 2006, at 1:26 PM, David Alter wrote:
I think this is a real basic question and I'm just missing
something. Or maybe I just not using the classes correctly.
I'm using CoreData as a data source for a NSTableView. I have been
able to connect them using bindings. I created a Controller class
in IB and was able to bind my interface to my data very nicely. Now
I have a situation where I want to do an operation on my sub class
of NSManagedObject based off the selected rows. I have not
identified a simple way to get to my sub class of NSManagedObject
for a selected row in NSTableView. Should I not be approaching the
problem this way?
Thanks you so much for the help.
enjoy
-dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to 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