Re: A couple controller/nib questions
Re: A couple controller/nib questions
- Subject: Re: A couple controller/nib questions
- From: Steven Kramer <email@hidden>
- Date: Thu, 4 Nov 2004 00:09:34 +0100
Op 2-nov-04 om 21:48 heeft Scott Anguish het volgende geschreven:
On Nov 2, 2004, at 12:17 PM, Ali Lalani wrote:
Hey folks, got a couple of questions,
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.
You can't do that currently. You can only bind to Controllers and
File's Owner. Other than that, you're stuck with creating bindings
programmatically.
Ignoring mmalcom's points about the weirdness of this, for
completeness' sake: you can in fact drag an outlet ('content') from the
controller to the view. It should do what you want, even though you
probably don't want what you want.
Steven
--
email@hidden
http://sprintteam.com/
_______________________________________________
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