Re: Array controller?
Re: Array controller?
- Subject: Re: Array controller?
- From: Scott Anguish <email@hidden>
- Date: Sun, 18 Apr 2004 02:45:45 -0400
On Apr 18, 2004, at 12:22 AM, mmalcolm crawford wrote:
On Apr 17, 2004, at 7:10 PM, Ondra Cada wrote:
I have a NIB which contains an NSTable, an NSArrayController, and the
model object (which provides the array).
How to bind the NSArrayController to the array? Its Binding > Content
array allows me to set only Shared user default, File's owner and
Shared application, none of which I want... the model object happens
to
be inside the NIB, instantiated there?
You cannot at the moment using Interface Builder bind to arbitrary
[non-NSController] objects in a NIB file:
<http://cocoa.mamasam.com/COCOADEV/2004/02/2/85307.php>
true, however...
you could set the content using the outlet rather than the binding..
then you should be OK. otherwise you'd need to do it programatically
(For Ondra) typically, you'd be binding to the File's Owner which
would contain the model data.. and that's targetable as a binding
controler(
_______________________________________________
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.