FROM : GbT
DATE : Mon Nov 19 10:14:30 2007
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.
DATE : Mon Nov 19 10:14:30 2007
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.
| Related mails | Author | Date |
|---|---|---|
| GbT | Nov 19, 10:14 | |
| Scott Anguish | Nov 19, 10:23 | |
| Scott Anguish | Nov 19, 10:30 | |
| GbT | Nov 19, 10:42 | |
| GbT | Nov 19, 10:54 | |
| Conor | Nov 20, 12:15 | |
| GbT | Nov 20, 15:38 | |
| Conor | Nov 21, 10:57 |






Cocoa mail archive

