• 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
setFontManagerFactory:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setFontManagerFactory:


  • Subject: setFontManagerFactory:
  • From: "Raglan T. Tiger" <email@hidden>
  • Date: Thu, 26 Jan 2017 12:06:53 -0700

According to the docs if one does:

   [ NSFontManager setFontManagerFactory:[ EFontManager class ] ];

before the main nib file is loaded and where EFontManager is a subclass of NSFontManager and EFontManager does implement init as its designated initializer.

My problem is that my init method for EFontManager is never called.

@implementation EFontManager

- (instancetype)init
{
    self = [super init];
    if (self)
    {
        NSLog ( @"EFontManager" );
    }
    return self;
}


So, what secret sauce am I missing for my init method to be called?





-rags



_______________________________________________

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: setFontManagerFactory:
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Re: Problem using NSView's scrollRect:by:
  • Next by Date: Re: iOS app groups sharing SQLite databases, notifications
  • Previous by thread: Re: Debugging a privileged helper
  • Next by thread: Re: setFontManagerFactory:
  • Index(es):
    • Date
    • Thread