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
Copy file name to clipboardExpand all lines: README.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,8 +148,10 @@ AdvancedList(yourData, content: { item in
148
148
149
149
For more examples take a look at [AdvancedList-SwiftUI](https://github.com/crelies/AdvancedList-SwiftUI).
150
150
151
-
## Migration 2.x -> 3.0
151
+
## Migration
152
152
153
+
<details>
154
+
<summary>Migration 2.x -> 3.0</summary>
153
155
The `AdvancedList` was dramatically simplified and is now more like the `List` and `ForEach` SwiftUI views.
154
156
155
157
1. Delete your list service instances and directly **pass your data to the list initializer**
@@ -158,6 +160,7 @@ The `AdvancedList` was dramatically simplified and is now more like the `List` a
158
160
4.**Move and delete:** Instead of setting `AdvancedListActions` on your list service just pass a `onMoveAction` and/or `onDeleteAction` block to the initializer
0 commit comments