Type Property

allBundles

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

Declaration

class var allBundles: [Bundle] { get }

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

class var main: Bundle

Returns the bundle object that contains the current executable.

class var allFrameworks: [Bundle]

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software