Re: Monitoring class loading
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.