Contents

CFBundleGetAllBundles()

Returns an array containing all of the bundles currently open in the application.

Declaration

func CFBundleGetAllBundles() -> CFArray!

Return Value

A CFArray object containing CFBundle objects for each open bundle in the application. Ownership follows the The Get Rule.

Discussion

This function is potentially expensive and not thread-safe. It’s best used for debugging or other diagnostics purposes rather than as part of the main execution path of production code.

See Also

Creating and Accessing Bundles