How can we bounce the dock icon on the Mac?
cocoa, macos
Solution
You can use the `requestUserAttention:` from NSApplication. The ` NSRequestUserAttentionType` allows you to specify whether the Dock icon will bounce once or until the application is activated.
Problem
How can we bounce the dock icon of our application?