When I used Chrome to download something to Lion, an icon with downloadable progress is displayed on my dock, which is dynamically updated.
How can this be achieved?
I think you are looking for this piece of code:
[[[NSApplication sharedApplication] dockTile] setBadgeLabel:@"My String"];
Here you can find all the necessary information (this is an NSDockTile Class Link ).
Source: https://habr.com/ru/post/903974/More articles:Being a good citizen and web scraping - pythonhow to unzip / extract * .nib files from a compiled iOS application - objective-cChrome does not set cookie path for root - javascripthow to use snippet in android 2.2? - androidIs NSTimer thread safe? - iosIs there a library for C that provides priority queues? - cMathematica and GAP: Is there an interface? - interfaceIs this registration session safe? - securityApplying CGAffineTransform to CGPath - iosUnrecognized selector sent to UIBarButtonItem setTintColor - iosAll Articles