• 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: Getting notification about new font is available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting notification about new font is available


  • Subject: Re: Getting notification about new font is available
  • From: Martin Wierschin <email@hidden>
  • Date: Tue, 06 Sep 2011 11:21:47 -0700

> During weekend I was trying to figure out how to know when new font becomes available.

You can use NSFontSetChangedNotification:

http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSFont_Class/Reference/Reference.html

Though in my experience it's posted a lot more often than necessary, so you might want to pay attention to how much work you do in response, or delay/batch your work.

~Martin

_______________________________________________

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: Getting notification about new font is available
      • From: "Rimas M." <email@hidden>
References: 
 >Getting notification about new font is available (From: "Rimas M." <email@hidden>)

  • Prev by Date: Re: using AppKit additions in background threads
  • Next by Date: Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?
  • Previous by thread: Getting notification about new font is available
  • Next by thread: Re: Getting notification about new font is available
  • Index(es):
    • Date
    • Thread