It worked like a charm. It is so easy since I was trying to draw over
existing Icon manually that is so complicated in comparison with given
way of doing it.
Thanks, Samvel.
On Apr 8, 2008, at 7:41 AM, [EMAIL PROTECTED] wrote:
On leopard or later, you can just do:
[[[NSApplication
See [NSApplication setApplicationIconImage: (NSImage*)]. This changes
the application's icon, and updates its dock icon.
On Mar 30, 2008, at 10:42 AM, Samvel wrote:
I'd like my application to show number of completed tasks in Dock
Icon as it is done in Mail (number of unread emails).
On leopard or later, you can just do:
[[[NSApplication sharedApplication] dockTile] setBadgeLabel:[[NSNumber
numberWithInt:42] stringValue]];
to put 42 as a badge
Matt
On 8 Apr 2008, at 14:06, Adam P Jenkins wrote:
See [NSApplication setApplicationIconImage: (NSImage*)]. This
changes
On Apr 8, 2008, at 5:41 AM, [EMAIL PROTECTED] wrote:
On leopard or later, you can just do:
[[[NSApplication sharedApplication] dockTile] setBadgeLabel:
[[NSNumber numberWithInt:42] stringValue]];
to put 42 as a badge
Matt
On 8 Apr 2008, at 14:06, Adam P Jenkins wrote:
See [NSApplication
I'd like my application to show number of completed tasks in Dock Icon
as it is done in Mail (number of unread emails). Anyone knows how to
do that or where I can read about such functionality?
The idea is widely used by next applications:
Adium
Mail
iGetter
Transmission
XCode
They all add
It's called badging
http://developer.apple.com/samplecode/DockTile/listing5.html
On Mar 30, 2008, at 10:42 AM, Samvel wrote:
I'd like my application to show number of completed tasks in Dock
Icon as it is done in Mail (number of unread emails). Anyone knows
how to do that or where I can