From 5317b3de6517de269ce104f41fa028f1d52f7e0d Mon Sep 17 00:00:00 2001 From: Amzd Date: Sat, 26 Dec 2020 23:56:47 +0100 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 14a119e..c603ea8 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ Want to drop iOS 13 support and move to the SwiftUI 2.0 version? 1. Remove the Package 2. Add this extension: + ```swift extension View { public func scrollId(_ id: ID) -> some View { @@ -121,4 +122,5 @@ extension View { } } ``` + (Or replace all .scrollId with .id)