Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrommcarrasco committed Jan 19, 2019
1 parent 20ba9e3 commit 3cedea2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ sliceControl = SliceControl(with: ["All", "Liked", "Favourited"],
secondaryColor: .white,
padding: 12)

// Implement SliceControlDelegate to intercept actions
sliceControl.delegate = self

view.addSubview(sliceControl)
// ... Constrain it
```
Expand Down

0 comments on commit 3cedea2

Please sign in to comment.