On Jan 15, 2009, at 10:27 AM, Mohan Parthasarathy wrote:
I have tried this to make sure that the class is loaded, but not
working:
[[NSBundle mainBundle] classNamed:clsName];
[self loadBundleForClass:clsName];
Class cls = NSClassFromString(clsName);
I still get nil.. What am i missing ?
You can set environment variables to watch the runtime load classes.
OBJC_PRINT_IMAGES=YES
OBJC_PRINT_CLASS_SETUP=YES
If the class you want is loaded, you'll be able to see it there.
--
Greg Parker gpar...@apple.com Runtime Wrangler
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com