• 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: "I. Savant" <email@hidden>
  • Date: Wed, 8 Jul 2009 09:49:12 -0400

On Jul 8, 2009, at 9:46 AM, Graham Cox wrote:

- (BOOL)menu:(NSMenu *)menu updateItem:(NSMenuItem *)item atIndex: (NSInteger)index shouldCancel:(BOOL)shouldCancel

is actually invoked on some sort of background thread/queue, so implementing these methods (the above + numberOfItemsInMenu:) in your menu delegate would allow you to update each item with the attributed title fairly simply and it wouldn't drag your main thread's performance down.


  GREAT catch! I'll have to investigate that one more closely.

--
I.S.


_______________________________________________

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>)

  • Prev by Date: Re: NSPopupButton to display fonts in the fonts themselves
  • Next by Date: Re: iPhone camera control like RedLaser
  • 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