Re: Getting notification about new font is available
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