<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 12.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/TableRow/init(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI8TableRowVyACyxGxcfc"
  },
  "title" : "init(_:)"
}
-->

# init(_:)

Creates a table row for the given value.

```
nonisolated init(_ value: Value)
```

## Parameters

`value`

The value of the row.

## Discussion

The table provides the value of a row to each column of a table,
which produces the cells for each row in the column.

The following example creates a row for one instance of the `Person`
type. The table delivers this value to its columns, which
displays different fields of `Person`.

```
 TableRow(Person(givenName: "Tom", familyName: "Clark"))
```

---

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)