I work for macOsx, and I have an NSWindowController which contains a NSTableView
Wanting to know when the table is resized, I add an observer on the NSWIndowController:
NotificationCenter.default.addObserver(self, selector: #selector(windowDidResize(_:)),
name: NSWindow.didEndLiveResizeNotification, object: self)Something I didn't understand is why when I select a row with the mouse, the didEndLiveResizedNotification is fired?