aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 900c4b2..b54144a 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ top left to bottom right)
The `PatternView` view will tile the selected design in its frame. It has the
following properties:
-* `design: Binding<TileDesign>`: **required**, which design to use to tile the
+* `design: TileDesign`: **required**, which design to use to tile the
frame.
* `pixelSize: CGFloat`: **defaults to 2.0**, the size of a pixel in the tile.
* `foregroundColor: Color`: **defaults to `Color.black`**, the foreground color.
@@ -72,7 +72,7 @@ same effect as `Pattern` mentioned above
...
-PatternView(design: $design)
+PatternView(design: design)
.frame(width: 32.0).border(.black)
.onTapGesture {
shouldShowPatternPicker = !shouldShowPatternPicker;