FROM : Hamish Allan
DATE : Tue Jul 01 21:45:09 2008
On Tue, Jul 1, 2008 at 12:56 AM, Michael Ash <michael.<email_removed>> wrote:
> However, if you're curious about what Apple does, it shouldn't be too
> hard to find out. You know one thing that happens reliably: your
> model's key is set. So set up a test app, put a breakpoint on the
> model's setter, then see what's calling it. The rest should follow
> from there.
This gets you into a whole world of wondering why _NSBindingAdapter,
NSValueBinder, NSBinder etc. exist. I think I'll leave that for now!
I do wonder, incidentally, why the NSKeyValueBindingCreation category
of NSObject is in AppKit rather than Foundation.
Hamish
DATE : Tue Jul 01 21:45:09 2008
On Tue, Jul 1, 2008 at 12:56 AM, Michael Ash <michael.<email_removed>> wrote:
> However, if you're curious about what Apple does, it shouldn't be too
> hard to find out. You know one thing that happens reliably: your
> model's key is set. So set up a test app, put a breakpoint on the
> model's setter, then see what's calling it. The rest should follow
> from there.
This gets you into a whole world of wondering why _NSBindingAdapter,
NSValueBinder, NSBinder etc. exist. I think I'll leave that for now!
I do wonder, incidentally, why the NSKeyValueBindingCreation category
of NSObject is in AppKit rather than Foundation.
Hamish






Cocoa mail archive

