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
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 mails | Author | Date |
|---|---|---|
| Ali Lalani | Nov 2, 21:17 | |
| Scott Anguish | Nov 2, 21:48 | |
| mmalcolm crawford | Nov 2, 22:20 | |
| Steven Kramer | Nov 4, 00:09 | |
| Ali Lalani | Nov 8, 20:55 | |
| mmalcolm crawford | Nov 9, 19:40 |






Cocoa mail archive

