Contents

CFBundleCopyResourcesDirectoryURL(_:)

Returns the location of a bundle’s Resources directory.

Declaration

func CFBundleCopyResourcesDirectoryURL(_ bundle: CFBundle!) -> CFURL!

Parameters

  • bundle:

    The bundle to examine.

Return Value

A CFURL object describing the location of bundle’s resources directory, or NULL if it could not be found. Ownership follows the The Create Rule.

Discussion

In general, you should never need to use this function. Use CFBundleCopyResourceURL(_:_:_:_:) and similar functions instead.

See Also

Finding Locations in a Bundle