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.