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 protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]