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
- Delivered-to: email@hidden
- Delivered-to: email@hidden
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.