Skip to content

Commit 73eb06a

Browse files
authored
Update README.md
1 parent 5cf1068 commit 73eb06a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ In Swift, the class is renamed to `SegmentedControl`. Creating a new instance is
3636
```Swift
3737

3838
// Create a new instance
39-
let segmentedControl = SegmentedControl(items: )
39+
let segmentedControl = SegmentedControl(items: ["First", "Second", "Third"])
4040

4141
// Add a closure that will be called each time the selected segment changes
4242
segmentedControlsegmentTappedHandler = { segmentIndex, reversed in

0 commit comments

Comments
 (0)