Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
janselv committed Jan 25, 2019
1 parent f834361 commit a729ba6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func faveButtonDotColors(faveButton: FaveButton) -> [DotColors]?

```swift
let faveButton = FaveButton(
frame: CGRect(x:200, y:200, width: 44, height: 44),
frame: CGRect(x:200, y:200, width: 44, height: 44),
faveIconNormal: UIImage(named: "heart")
)
faveButton.delegate = self
Expand All @@ -81,10 +81,10 @@ If you want differents colors for dots like `Twitter’s Heart Animation` use th

```swift
func faveButtonDotColors(_ faveButton: FaveButton) -> [DotColors]? {
if faveButton == myFaveButton{
// return dot colors
}
return nil
if faveButton == myFaveButton{
// return dot colors
}
return nil
}
```

Expand Down

0 comments on commit a729ba6

Please sign in to comment.