[Q] Tapping into existing objects
[Q] Tapping into existing objects
- Subject: [Q] Tapping into existing objects
- From: Mark de Jong <email@hidden>
- Date: Wed, 29 May 2002 14:11:05 -0700
I'm writing an app where I need to be able to detect when another app
attempts to use a particular font.
When I first read about "poseAsClass:" I thought that would do the
trick. Unfortunately, it has the clause:
The poseAsClass: message should be sent before any messages are
sent to aClass and before any instances of aClass are created.
This would seem to indicate I would need to install something (a
framework?) that poses as either NSFont or NSFontManager early in the
startup sequence of OS X.
Since I like to be as unobtrusive as possible, I'm wondering if there is
a correct way to trap Cocoa messages without forcing the computer to be
restarted.
Thanks,
-- Mark
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.