• 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
NSBundle's allFrameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBundle's allFrameworks


  • Subject: NSBundle's allFrameworks
  • From: Georg Tuparev <email@hidden>
  • Date: Sat, 15 Jan 2005 23:21:07 +0100

Quote form the docs:
"+ (NSArray *)allFrameworks
Returns an array of all of the application’s bundles that represent frameworks. This array includes frameworks that are linked into an application when the application is built and bundles for frameworks that have been dynamically created. Only frameworks with one or more Objective-C classes in them are included."


This code here:
    NSEnumerator *en = [[NSBundle allFrameworks] objectEnumerator];
    NSBundle     *bd = nil;
    while (bd = [en nextObject])
        NSLog(@"---> %@",[bd bundlePath]);

includes:
---> /usr/lib
...

Is this something expected, or is it time for a (new) Radar entry?

cheers

Georg Tuparev
Tuparev Technologies
Klipper 13
1186 VR Amstelveen
The Netherlands
Mobile: +31-6-55798196
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Revisiting the code documentation question...
  • Next by Date: How do I repair privileges to an application?
  • Previous by thread: Re: run method from other method
  • Next by thread: How do I repair privileges to an application?
  • Index(es):
    • Date
    • Thread