Re: Getting list of classes inside NSBundle
Re: Getting list of classes inside NSBundle
- Subject: Re: Getting list of classes inside NSBundle
- From: Christopher Hickman <email@hidden>
- Date: Fri, 19 Oct 2007 11:37:05 -0700
On Friday, October 19, 2007, at 02:30PM, "Jason" <email@hidden> wrote:
>Is there a way for me to get a list of all classes that an NSBundle
>contains?
Yes.The userInfo dictionary of the NSBundleDidLoadNotification contains the information you require:
@"NSLoadedClasses"
An NSArray object containing the names (as NSString objects) of each class that was loaded
See: http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSBundle_Class/Reference/Reference.html#//apple_ref/c/data/NSBundleDidLoadNotification
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden