---
title: "buildBlock(_:)"
framework: appintents
role: symbol
role_heading: Type Method
platforms: [iOS 27.3+, iPadOS 27.3+, Mac Catalyst 27.3+, macOS 27.3+, tvOS 27.3+, visionOS 27.3+, watchOS 27.3+]
path: "appintents/entitysnippetcontentbuilder/buildblock(_:)"
---

# buildBlock(_:)

Creates a snippet from a single view declaration.

## Declaration

```swift
static func buildBlock<C>(_ content: C) -> some EntitySnippetContent<Entity> where Entity == C.Entity, C : EntitySnippetContent

```
