I'm trying let two NSWindows to move together (NSWindows are Attached to each other). by using
- (void)windowDidMove:(NSNotification *)notification
But this method is lazy and it's not working live. Overriding setFrameOrigin
and other setFrame
methods did not work as well.
I was wondering what is the best way to do this?
I'll appreciate any suggestions with different approaches.