• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unread count for items in Mail.app-styled NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unread count for items in Mail.app-styled NSOutlineView


  • Subject: Re: Unread count for items in Mail.app-styled NSOutlineView
  • From: John Pannell <email@hidden>
  • Date: Sat, 1 Mar 2008 21:25:15 -0700

Hi Leonardo-

I implemented a counter that looked the same in a safari-like tabs implementation...

http://www.positivespinmedia.com/dev/PSMTabBarControl.html

Hope this helps!

John

On Mar 1, 2008, at 3:35 PM, Leonardo Cassarani wrote:

Hi all

I'm trying to make a lateral sidebar that is similar to Mail.app's or iTunes'. It all works well with a NSOutlineView with the "Data source" display option, but I was wondering how could I get the single items to draw the equivalent of the "unread count" for folders in Mail.app's sidebar, or the number of active downloads in iTunes'.

I guess it's a fairly common UI element, and I was wondering if there was an "official" way to do it, and if not is there any sample source code that you know of which I can take some inspiration from?

Thanks.
Leonardo Cassarani
_______________________________________________

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

_______________________________________________

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


  • Follow-Ups:
    • Re: Unread count for items in Mail.app-styled NSOutlineView
      • From: Leonardo Cassarani <email@hidden>
References: 
 >Unread count for items in Mail.app-styled NSOutlineView (From: Leonardo Cassarani <email@hidden>)

  • Prev by Date: Re: [NSOutlineView] How to know an item is expanded if its parent item is not?
  • Next by Date: Re: NSMachPort thread safety
  • Previous by thread: Unread count for items in Mail.app-styled NSOutlineView
  • Next by thread: Re: Unread count for items in Mail.app-styled NSOutlineView
  • Index(es):
    • Date
    • Thread