Re: NSArrayController and Bindings
Re: NSArrayController and Bindings
- Subject: Re: NSArrayController and Bindings
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 19 Mar 2004 21:07:44 -0800
On Mar 19, 2004, at 6:28 PM, Bruce Truax wrote:
The bindings feature combined with NSArrayController makes a simple
way to
create a spreadsheet for data entry. I have read through the
documentation
and run through the examples, but it is not obvious to me how to
access the
data that NSArrayController stores. I assume that after you bind the
table
view to your array controller and connect it to your object using the
[myObject setKeys: triggerChangeNotificationsForDependentKey:] method
I'm not sure why you think that method has any relevance to the array
that the array controller manages? You certainly don't connect
anything using that.
that NSArrayController creates a mutable array of my objects. Where
is this
array and how do I access it?
The array is typically one that another controller (e.g. your
NSDocument instance in a document-based application) already manages.
See:
<
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
for a number of examples...
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.