<!--
{
  "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/TableColumn/init(_:value:content:)-31p7g",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI11TableColumnVAASo8NSObjectCRbz10Foundation14SortDescriptorVyxGRs_AA4TextVRs1_rlE_5value7contentACyxAIq0_AKGqd___s7KeyPathCyxAF4DateVGq0_xctcSyRd__lufc"
  },
  "title" : "init(_:value:content:)"
}
-->

# init(_:value:content:)

Creates a sortable column for date
values that displays a string property.

```
nonisolated init<S>(_ title: S, value: KeyPath<RowValue, Date>, @ContentBuilder content: @escaping (RowValue) -> Content) where S : StringProtocol
```

## Parameters

`title`

A string that describes the column.

`value`

The path to the property associated with the column,
used to update the table’s sorting state.

`content`

The view content to display for each row in a table.

## Discussion

This initializer creates a `Text` view on your behalf, and treats the
title similar to `Text/init(_:)`. For more information about
localizing strings, see `Text`.

---

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)