Re: Basic Array Access Strategy
Re: Basic Array Access Strategy
- Subject: Re: Basic Array Access Strategy
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 20 Jan 2005 17:42:51 -0800
On Jan 20, 2005, at 5:30 PM, Richard Patterson wrote:
If I have set up my document application with NSTableView which is
using an array controller and bindings, do I need to copy the data
from the array into a dictionary in order to get random access to it?
If you're using bindings to display the table view and you want to
filter the rows displayed, you should subclass NSArrayController and
override arrangeObjects: -- see:
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSArrayController.html>
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/Tasks/filtering.html>
and the Filtering Controller example at:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
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