I subclassed NSFontManager and overrode "modifyFont:(id)sender) Then I changed the NSFontManager class in my xib files to the new class. I can see, that the class is initialized, but the overwritten method is never called. Though the NSFontManager method works normal.
What do I wrong?
#import "GFFontManager.h"
@implementation GFFontManager
-(id)init{
if (self = [super init]) {
//this is called
NSLog(@"GFFontManager init");
}
return self;
}
-(void)modifyFont:(id)sender{
//this is never called
NSLog(@"Do something");
[super modifyFont:sender];
}
@end