diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |