<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/URLThumbnailDictionaryItem",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@T@NSURLThumbnailDictionaryItem"
  },
  "title" : "URLThumbnailDictionaryItem"
}
-->

# URLThumbnailDictionaryItem

Possible keys for the [`thumbnailDictionaryKey`](/documentation/Foundation/URLResourceKey/thumbnailDictionaryKey) dictionary.

```
struct URLThumbnailDictionaryItem
```

## Topics

### Creating a Thumbnail Dictionary Key

[`init(_:)`](/documentation/Foundation/URLThumbnailDictionaryItem/init(_:))

Creates a thumbnail dictionary item key from the provided constant string.

[`init(rawValue:)`](/documentation/Foundation/URLThumbnailDictionaryItem/init(rawValue:))

Creates a thumbnail dictionary item key from the provided raw value string.

### Constants

[`NSThumbnail1024x1024SizeKey`](/documentation/Foundation/URLThumbnailDictionaryItem/NSThumbnail1024x1024SizeKey)

A 1024 x 1024 pixel thumbnail as a `UIImage` on iOS or an `NSImage` in macOS.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)