---
title: "Structures"
id: "structures"
project: "Contextual Commerce"
url: "https://docs.bazaarvoice.com/articles/contextual-commerce/structures"
updated: 2026-10-15T09:12:47Z
---

# Structures

###  GranifyInlineSwiftUIView

Declaration:


```

public struct GranifyInlineSwiftUIView : View 

```
 
A SwiftUI View that an inline campaign can be displayed into. Expansion, collapse, and animation thereof is handled automatically. A `GranifyInlineViewLabel` must be provided; this allows us to correctly identify which inline view to place our inline campaigns into when there are pages with multiple inline views.

**Since:** 7.1.0

See more
 * * *
 
#### Methods 

`init(label:)`
 Initializer.
 
Declaration:
 
```

public init(label: GranifyInlineViewLabel)

```

  
* * *
 
####  Properties 

`body`
 Declaration:
 
```

public var body: some View { get }

```


[![Provide feedback button](/resources/Storage/contextual-commerce/bv-global/topic-footer-2026/provide-feedback-button.png)](https://docs.google.com/forms/d/1qGZ5rApqDrXO_j6vNzcDihDAOPMEjmUr1alHvcEIbQU/edit)