Hi Everyone,

My app has an NSCollectionView of devices, each with a custom icon.
I have a need to display the number of downloads happening from a given device. 
The way that I want to do this, is to place a badge on each icon.
I have just tried to implement a "clone" of the NSDockTile badge that Mail 
uses. Needless to say, it isn't a perfect match.. :)

I was wondering if anyone out there has been able to coax "setBadgeLabel" to 
draw on a custom NSView, rather than the dockTile?

Could I do something like this: (typed into the email.. errors are likely)

[[NSApp dockTile] setContentView:myCustomView];
[[NSApp dockTile] setBadgeLabel:@"20"];
[[NSApp dockTile] setContentView:nil];

Would this end up causing weirdness with my App's icon?
(Or should I stick to my own routines for drawing a badge?)

Thanks!

bob.

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to