Re: NSArrayController population
Re: NSArrayController population
- Subject: Re: NSArrayController population
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 9 Nov 2003 18:42:59 -0800
On Nov 9, 2003, at 6:17 PM, Aaron Patterson wrote:
Right now, contentArray for the NSArrayController isn't bound to
anything. I'm
having a tough time figuring out how to bind anything to the
contentArray. What
kind of objects can I bind to it? The drop down only lets me choose
from
"Shared User Defaults", and "File's Owner".
In many cases you'll bind to File's Owner. You must then bind to a
variable in that object which is either an array or which may be
accessed as an array (for which you have provided the array accessors).
Please pardon my ignorance, I'm very new at Cocoa dev. I will happily
RTFM if
someone can point me to documentation on dealing with controllers.
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
ControllerLayer/index.html>
The controller layer provides a layer of abstraction above the already
fairly well-abstracted Cocoa frameworks. It is not yet clear how
readily comprehensible this matter will be to novices. My gut feeling
(which I'm certainly willing to amend) is that, attractive though this
technology is, you would better served by getting to grips first with
"classic" Cocoa first, then progressing on to controllers later. There
is certainly much more material available to help newcomers learn
classic Cocoa...
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.