<!--
{
  "availability" : [
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/PreviewRelevanceEntryBuilder",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit28PreviewRelevanceEntryBuilderV"
  },
  "title" : "PreviewRelevanceEntryBuilder"
}
-->

# PreviewRelevanceEntryBuilder

A builder that allows you to construct a list of relevance entries to preview your widget.

```
@resultBuilder struct PreviewRelevanceEntryBuilder<Entry> where Entry : RelevanceEntry
```

## Topics

### Previewing relevance widgets

[`static func buildArray([[Entry]]) -> [Entry]`](/documentation/WidgetKit/PreviewRelevanceEntryBuilder/buildArray(_:))

[`static func buildExpression(Entry) -> [Entry]`](/documentation/WidgetKit/PreviewRelevanceEntryBuilder/buildExpression(_:))

[`static func buildPartialBlock(first: [Entry]) -> [Entry]`](/documentation/WidgetKit/PreviewRelevanceEntryBuilder/buildPartialBlock(first:))

[`static func buildPartialBlock(accumulated: [Entry], next: [Entry]) -> [Entry]`](/documentation/WidgetKit/PreviewRelevanceEntryBuilder/buildPartialBlock(accumulated:next:))



---

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)