Function

CFBundleCopyResourcesDirectoryURL

Returns the location of a bundle’s Resources directory.

Declaration

CFURLRef CFBundleCopyResourcesDirectoryURL(CFBundleRef bundle);

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

CFBundleCopyAuxiliaryExecutableURL

Returns the location of a bundle’s auxiliary executable code.

CFBundleCopyBuiltInPlugInsURL

Returns the location of a bundle’s built in plug-in.

CFBundleCopyExecutableURL

Returns the location of a bundle’s main executable code.

CFBundleCopyPrivateFrameworksURL

Returns the location of a bundle’s private Frameworks directory.

CFBundleCopySharedFrameworksURL

Returns the location of a bundle’s shared frameworks directory.

CFBundleCopySharedSupportURL

Returns the location of a bundle’s shared support files directory.

CFBundleCopySupportFilesDirectoryURL

Returns the location of the bundle’s support files directory.