Any NSView or a subclass will call -viewWillStartLiveResize
and -viewDidEndLiveResize
when resizing begins and ends.
NSView Class Reference
Or, if you're interested in knowing when the window is resized:
Stack Overflow: get window height/width in real-time