<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UniformTypeIdentifiers",
  "identifier" : "/documentation/UniformTypeIdentifiers/UTType-swift.struct/package",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Uniform Type Identifiers",
      "UniformTypeIdentifiers"
    ],
    "preciseIdentifier" : "s:22UniformTypeIdentifiers6UTTypeV7packageACvpZ"
  },
  "title" : "package"
}
-->

# package

A base type that represents a packaged directory.

```
static var package: UTType { get }
```

## Discussion

Bundles differ from packages in that a bundle has an internal file hierarchy that <doc://com.apple.documentation/documentation/CoreFoundation/CFBundle> can read, while packages display to the user as if they were regular files. A single file system object can be a package and a bundle.

The identifier for this type is `com.apple.package`.

This type conforms to [`UTTypeDirectory`](/documentation/UniformTypeIdentifiers/UTTypeDirectory).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)