> On 17 Jun 2017, at 01:54, Charles Srstka <cocoa...@charlessoft.com> wrote: > >> it’s preferred that bindings go either through an NSObjectController, an >> NSViewController, or something else that implements NSEditorRegistration.
I think that is a crucial aspect in all this. I while back I configured bindings in contravention of the above and found myself literally re-inventing NSEditorRegistration (just to get everything to hang together) until the penny dropped. In my case I route my object bindings through an NSObjectController hosted in my NSViewController subclass - I find the that the extra level of indirection gives flexibility. The NSAutoUnbinder support is also crucial. The public classes that implement it are: NSViewController. NSTableCellView NSWindowController J _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com