I want to make a Dock application for my self . So I need to get the running application's badge count , then can show it on the Dock , let user know there has new notifications .
but now , I want to ask ,how swift can observe the new notification event ? I am new at this .