setFontManagerFactory:
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