On 11/03/2010, at 1:49 AM, jonat...@mugginsoft.com wrote:
> Not sure if this will prove useful or not.
>
> Regards
>
> Jonathan Mitchell
Thanks for this, and to everyone who responded, lots of great solutions! Nice
to wake up to find a little bit of code I need has written itself - well, sor
Apologies all for the mis-titled e-mail. Resending for the sake of the archives.
---
This is the relevant part of my cell subclass:
- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
{
if(hasCount)
{
NSString * number = [NSString stringWithFormat:@"%i", count];
// Use th
Alex Rozanski's PXSourceList has them: http://github.com/Perspx/PXSourceList
There was one here: http://th30z.netsons.org/2008/12/cocoa-sidebar-with-badges/
but the website appears to be having issues. Maybe it'll be back a bit later.
:)
Cheers,
Dave DeLong
On Mar 10, 2010, at 7:35 AM, Gra
On 10 Mar 2010, at 14:35, Graham Cox wrote:
> Hi,
>
> I need a custom cell for a table/outline view that is exactly like Mail's
> 'unread' count - the grey lozenge with a number in it. It's probably only a
> few hours work but maybe someone has already done it and would be willing to
> share?