title: Cocoa - Is there any way to know when the dock is showing or hiding?
body: <p>I'm developing a Mac OS application using Cocoa. I want to ask if there is any way to detect the visibility of Mac OS Dock (for ex: Does Cocoa fire an event when the dock is showing and hiding ?). I've been searching and still haven't found out any effective way to do this (Seems like Carbon does have this kind of event but Cocoa does not). Really appreciate your helps.</p>