Re: NSArrayController indices and Drag & Drop
Re: NSArrayController indices and Drag & Drop
- Subject: Re: NSArrayController indices and Drag & Drop
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 28 May 2005 20:02:45 -0700
On May 28, 2005, at 7:30 PM, Matthew M. Swann wrote:
With an array controller, how do I make use of the row index? From
previous posts, it doesn't appear to be possible to get the object
that corresponds to an index without subclassing NSArrayController
and writing a caching mechanism that keeps track of sorting, etc.
[[arrayController arrangedObjects] objectAtIndex:index];
mmalc
_______________________________________________
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