Hello Martin,

Thank you - that helped. And, as you have mentioned, additional checking is
required due to "unnecessary" update calls.

Regards,

p.s. I still don't like Xcode 4. I have overlooked NSFont's class
notifications because of removed TOC at documentation viewer.

Rimas M.

On Tue, Sep 6, 2011 at 9:21 PM, Martin Wierschin <mar...@nisus.com> wrote:

> > 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to