Skip navigation.
 
mlRe: A couple controller/nib questions
FROM : mmalcolm crawford
DATE : Tue Nov 02 22:20:20 2004

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

Related mailsAuthorDate
mlA couple controller/nib questions Ali Lalani Nov 2, 21:17
mlRe: A couple controller/nib questions Scott Anguish Nov 2, 21:48
mlRe: A couple controller/nib questions mmalcolm crawford Nov 2, 22:20
mlRe: A couple controller/nib questions Steven Kramer Nov 4, 00:09
mlRe: A couple controller/nib questions Ali Lalani Nov 8, 20:55
mlRe: A couple controller/nib questions mmalcolm crawford Nov 9, 19:40