Source list with counter next to item title
Source list with counter next to item title
- Subject: Source list with counter next to item title
- From: GbT <email@hidden>
- Date: Mon, 19 Nov 2007 10:14:30 +0100
What's the best way to have a sourcelist with a counter next to the title as
you see in many apps (Mail and other indie apps)? I mean the grey
circle-ellipse with the number of items written inside it.
Maybe I need to subclass NSCell and override the drawInteriorWithFrame:
method, but how could I set the counter from, let's say, an arraycontroller?
Would it be possible using bindings?
Who could give me a detailed explanation of the besth method to achieve
that? I read other posts and articles about subclassing NSCell but none of
that seems clear and easy to do.
Thanks a lot.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden