Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Removed animation
  • Loading branch information
thaisrfernandes authored May 9, 2023
1 parent 2c5980c commit 3dddb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ PinterestLikeGrid($data, columnSpacing: 3) { item, index in

PinterestLikeGrid uses a helper method called `splitData` to split the data array into the specified number of columns. The method returns an array of arrays of hashable items.

Then, it uses a `HStack` to display the columns and a `VStack` to display the items in each column. It also uses the `matchedGeometryEffect` modifier to provide a nice animation effect when the items are added or removed from the grid.
Then, it uses a `HStack` to display the columns and a `VStack` to display the items in each column.

`getIndexInList(for:)` is a helper method that returns the index of a specified item from the data array.

Expand Down

0 comments on commit 3dddb6a

Please sign in to comment.