Type Property

allBundles

Returns an array of all the application’s non-framework bundles.

Declaration

@property(class, readonly, copy) NSArray<NSBundle *> *allBundles;

Return Value

An array of all the application’s non-framework bundles.

Discussion

The returned array includes the main bundle and all bundles that have been dynamically created but doesn’t contain any bundles that represent frameworks.

See Also

Getting Standard Bundle Objects

mainBundle

Returns the bundle object that contains the current executable.

allFrameworks

Returns an array of all of the application’s bundles that represent frameworks.