• 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: NSPopupButton to display fonts in the fonts themselves
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopupButton to display fonts in the fonts themselves


  • Subject: Re: NSPopupButton to display fonts in the fonts themselves
  • From: Peter Ammon <email@hidden>
  • Date: Thu, 9 Jul 2009 15:14:44 -0700


On Jul 8, 2009, at 6:15 PM, I. Savant wrote:

On Jul 8, 2009, at 9:06 PM, Peter Ammon wrote:

So for menus that may take a while to build, consider appending the items as they come in (like the Airport status item), or showing a "Building..." item until you're ready to add the complete set of items.


What of menus that already have a selection well down the list? In this case, it sounds like my original idea of immediately building the list of font names on nibloading/creation/whenever first, then rendering the attributed titles in the background (and updating the popup on the main thread) might still be the better option.

Or have I misunderstood?

If your menu has a selection, like a popup menu, then your idea is definitely the way to go. However, getting the list of available fonts can take a noticeable amount of time, so you may find it too expensive to build the list up-front. _______________________________________________


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


References: 
 >NSPopupButton to display fonts in the fonts themselves (From: Gideon King <email@hidden>)
 >Re: NSPopupButton to display fonts in the fonts themselves (From: Graham Cox <email@hidden>)
 >Re: NSPopupButton to display fonts in the fonts themselves (From: "I. Savant" <email@hidden>)
 >Re: NSPopupButton to display fonts in the fonts themselves (From: Graham Cox <email@hidden>)
 >Re: NSPopupButton to display fonts in the fonts themselves (From: Peter Ammon <email@hidden>)
 >Re: NSPopupButton to display fonts in the fonts themselves (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: NSPopupButton to display fonts in the fonts themselves
  • Next by Date: Cocoa developers in Victoria BC
  • Previous by thread: Re: NSPopupButton to display fonts in the fonts themselves
  • Next by thread: Re: NSPopupButton to display fonts in the fonts themselves
  • Index(es):
    • Date
    • Thread