• 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
Re: Monitoring class loading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monitoring class loading


  • Subject: Re: Monitoring class loading
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 18 Aug 2002 14:50:19 +0200

On Sunday, August 18, 2002, at 01:31 , Kyle Moffett wrote:

I am looking to write a tool that needs to know about the existence
of every single class that gets loaded, and I am stumped. I looked
for something in the ObjC runtime that would let me register a
handler, and I looked for a method that gets called to do perclass
initialization, but I was unable to find anything. Is there a way to
do this, or am I out of luck?

Check NSBundle. NSBundleDidLoadNotification/NSLoadedClasses might be somewhat interesting to you. Also, NSObject-level +load is somewhat related, but I bet the former is actually what you want.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: Monitoring class loading
      • From: Kyle Moffett <email@hidden>
References: 
 >Monitoring class loading (From: Kyle Moffett <email@hidden>)

  • Prev by Date: Jaguar : NSNetServices
  • Next by Date: Re: NEWBIE: double backslash in NSStrings
  • Previous by thread: Monitoring class loading
  • Next by thread: Re: Monitoring class loading
  • Index(es):
    • Date
    • Thread