You don't need delegates for this. Look into child windows.
Jorge Luis Chavez Herrera wrote:
> Hello everyone!
>
> I'm trying to figure out a way to make an NSPanel to follow a NSWindow while it is being dragged.
> The two notifications sent to an NSWindow delegate are only good for knowing if the window is about to move
> or the window has moved. (NSWindowDidMoveNotification , NSWindowWillMoveNotification )
> What I need is a way to get the NSWindow coordinates while it is moving so I can update the position of my panel in real time.
>