|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
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 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).
|>More bindings confusion (From: Gwynne <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.