<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/StoreContentBuilder",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI0A14ContentBuilderV"
  },
  "title" : "StoreContentBuilder"
}
-->

# StoreContentBuilder

A result builder that creates store content from closures that you provide.

```
@resultBuilder struct StoreContentBuilder
```

## Topics

### Building store content

[`static func buildBlock<each Content>(repeat each Content) -> TupleStoreContent<repeat each Content>`](/documentation/StoreKit/StoreContentBuilder/buildBlock(_:))

[`static func buildEither<TrueContent, FalseContent>(first: TrueContent) -> _ConditionalContent<TrueContent, FalseContent>`](/documentation/StoreKit/StoreContentBuilder/buildEither(first:))

[`static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> _ConditionalContent<TrueContent, FalseContent>`](/documentation/StoreKit/StoreContentBuilder/buildEither(second:))

[`static func buildExpression<Content>(Content) -> some StoreContent`](/documentation/StoreKit/StoreContentBuilder/buildExpression(_:))

[`static func buildIf<Content>(Content?) -> Content?`](/documentation/StoreKit/StoreContentBuilder/buildIf(_:))

[`static func buildLimitedAvailability(any StoreContent) -> some StoreContent`](/documentation/StoreKit/StoreContentBuilder/buildLimitedAvailability(_:))

[`struct TupleStoreContent`](/documentation/StoreKit/TupleStoreContent)



---

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)