Functions

Bundle Services provides these functions:

CFBundleCopyBundleURL Obtains the location of a bundle.
CFBundleCopyExecutableURL Obtains the location of a bundle's main executable code.
CFBundleCopyInfoDictionaryInDirectory Obtains an instance of a bundle's InfoDictionary.
CFBundleCopyLocalizedString Obtains a localized string from a bundle's strings file.
CFBundleCopyResourcesDirectoryURL Obtains the location of a bundle's Resources directory.
CFBundleCopyResourceURL Obtains the location of a resource contained in the specified bundle.
CFBundleCopyResourceURLInDirectory Obtains the location of a resource contained in the specified bundle directory without requiring the creation of a bundle instance.
CFBundleCopyResourceURLsOfType Assembles an array of URLs specifying all of the resources of the specified type found in a bundle.
CFBundleCopyResourceURLsOfTypeInDirectory Obtains an array of describing the locations of all resources in a bundle of the specified type.
CFBundleCopySupportFilesDirectoryURL Obtains the location of the bundle's Support Files directory.
CFBundleCreate Creates a CFBundle instance.
CFBundleCreateBundlesFromDirectory Searches a directory and constructs an array of bundle instances from all valid bundles in the specified directory.
CFBundleGetBundleWithIdentifier Locate a bundle instance given its user specified identifier.
CFBundleGetDevelopmentRegion Obtains the bundle's development region from the bundle's Info plist.
CFBundleGetFunctionPointerForName Obtains a pointer to a function in a bundle's executable code using the function name as the search key.
CFBundleGetFunctionPointersForNames Constructs a function table containing pointers to all of the functions found in a bundle's main executable code.
CFBundleGetIdentifier Obtains a bundle identifier from it's Info plist.
CFBundleGetInfoDictionary Obtains a bundle's Info Dictionary.
CFBundleGetMainBundle Obtains an instance of an application's main bundle.
CFBundleGetTypeID Obtains the Core Foundation type ID for the CFBundle type.
CFBundleIsExecutableLoaded Obtains information about the load status for a bundle's main executable.
CFBundleLoadExecutable Loads a bundle's main executable code into memory and dynamically links it into the running application.
CFBundleUnloadExecutable Unloads the main executable for the specified bundle.
CFCopyLocalizedString A macro variant of for use with the genstrings tool. Searches the default strings file for the string associated with the specified key.
CFCopyLocalizedStringFromTable A macro variant of for use with the genstrings tool. Searches the specified strings file for the string associated with the specified key.
CFCopyLocalizedStringFromTableInBundle A macro equivalent of for use with the genstrings tool. Finds and returns a localized version of the specified string.

© 1999 Apple Computer, Inc. — (Last Updated 9/17/99)