Contents

CFBundleGetPackageInfo(_:_:_:)

Returns a bundle’s package type and creator.

Declaration

func CFBundleGetPackageInfo(_ bundle: CFBundle!, _ packageType: UnsafeMutablePointer<UInt32>!, _ packageCreator: UnsafeMutablePointer<UInt32>!)

Parameters

  • bundle:

    The bundle to examine.

  • packageType:

    On return, the four-letter type code for the bundle. This is APPL for applications, FMWK for frameworks, and BNDL for generic bundles. Or a more specific type code for generic bundles.

  • packageCreator:

    On return, the four-letter “creator” code for the bundle.

See Also

Getting Bundle Properties