You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace deprecated array-based initializer (`init(data:headerTitles:)`)
with the new typed API (`init(data:columns:)`) across all documentation:
- README.md: Update Quick Start and examples
- GettingStarted.md: Use typed API with Identifiable models
- QuickStart.md: Update all examples to typed API
- AdvancedPatterns.md: Update pattern examples
- ColumnSorting.md, ConfigurationReference.md, CustomCells.md,
RowSelection.md, SearchIntegration.md, Styling.md, TextWrapping.md:
Replace deprecated API calls
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
For dynamic data (CSV, JSON, queries), see [Working with Data](https://pavankataria.github.io/SwiftDataTables/documentation/swiftdatatables/workingwithdata).
120
+
133
121
## Install
134
122
135
123
### Swift Package Manager
@@ -305,7 +293,7 @@ SwiftDataTables supports native iOS navigation bar search via UISearchController
305
293
overridefuncviewDidLoad() {
306
294
super.viewDidLoad()
307
295
308
-
let dataTable =SwiftDataTable(data: myData, headerTitles: headers)
> **Note**: The `SwiftDataTableDataSource` protocol is deprecated in v0.9.0. Use the direct data pattern with `init(data:headerTitles:)`or the typed API with `init(data:columns:)` instead. See the [Quick Start](#quick-start) section above for examples.
322
+
> **Note**: The `SwiftDataTableDataSource` protocol is deprecated in v0.9.0. Use the typed API with `init(columns:)`and `setData(_:animatingDifferences:)` instead. See the [Quick Start](#quick-start) section above for examples.
335
323
336
324
The deprecated protocol is shown below for reference:
0 commit comments