• 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
[Q] Tapping into existing objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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.

  • Follow-Ups:
    • Re: [Q] Tapping into existing objects
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Frontmost window of particular document type
  • Next by Date: Re: NSView -subviews ordering?
  • Previous by thread: Hiding/Showing Table Columns
  • Next by thread: Re: [Q] Tapping into existing objects
  • Index(es):
    • Date
    • Thread