Re: A couple controller/nib questions
Re: A couple controller/nib questions
- Subject: Re: A couple controller/nib questions
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 2 Nov 2004 13:20:20 -0800
On Nov 2, 2004, at 12:17 PM, Ali Lalani wrote:
1. I'd like to be able to bind properties of objects (cocoa bindings)
to other objects which appear in the NIB suitcase, other than File's
Owner and other controllers. For instance if i have an NSView in the
suitcase and i want to bind the content array of an NSArrayController
to something in that view, is that possible? Nothing shows up in the
Bind To: pop-up for the array controller other than file's owner and
any other controllers in the nib.
<http://www.cocoabuilder.com/archive/message/2004/2/24/97729>
Do you really want to bind the content of the array controller to a
view, or the other way round? You almost certainly should not be
binding an array controller's content to a view.
2. If i make an NSView the file's owner in InterfaceBuilder, it
doesn't let me edit the view as it would if it was not file's owner
but just instantiated in the nib. Is there some reason for this?
You almost certainly don't want an NSView as the File's Owner. What
are you trying to achieve?
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