More bindings confusion
More bindings confusion
- Subject: More bindings confusion
- From: Gwynne <email@hidden>
- Date: Fri, 16 Jul 2004 00:08:35 -0400
In Interface Builder, you can make bindings to File's Owner without
setting up a controller first. Aside from perhaps the model key path,
what is the difference between binding directly to File's Owner, and
creating an NSObjectController connected to File's Owner and binding to
that? (Assuming that it's a singular object and that the File's Owner
is what you want to bind to). What does NSController do that a direct
binding does not? And if NSController does do something special, why is
binding directly to File's Owner (or to Shared App) allowed at all? And
why is there no documentation at all about these?
And on a side note, why is it that I can't bind to NSTableView's
doubleAction? Obviously it's not exposed as a binding, but I tried
exposing it by doing a subclass and an IB palette, and of course IB
doesn't have the foggiest view that it's a multiple-value
target-argument binding and there doesn't seem to be any way to tell it
so. I smell nasty shortcomings in IB (big surprise).
-- Gwynne, key to the Code that runs us all
Email: email@hidden
Web:
http://musicimage.plasticchicken.com/
_______________________________________________
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.