Skip to content

Commit 724f875

Browse files
Update README.md
1 parent 6dbc9b5 commit 724f875

1 file changed

Lines changed: 16 additions & 11 deletions

File tree

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pod 'ButtonClickStyle'
4747
![image](https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/click_styles_example_2x_10sec33fps.gif)
4848

4949
```swift
50-
extension ButtonClick {
50+
extension ButtonClick { // animationType
5151
enum Style {
5252
case alpha
5353
case flash
@@ -74,20 +74,25 @@ extension ButtonClick {
7474

7575
6) Add animation value `animationTypeValue` - meaning means for some types - alpha or power
7676

77-
- "Hide .Alpha/.Flash"
78-
will change alpha for "self.view" from 0.0 to 1.0
77+
- Hide
78+
.Alpha / .Flash
79+
Will change alpha for "self.view" from 0.0 to 1.0
7980

80-
- "Add .Shadow/.Color/.ColorFlat"
81-
will change alpha for "add.view" from 0.0 to 1.0
81+
- Add
82+
.Shadow / .Color / .ColorFlat
83+
Will change alpha for "add.view" from 0.0 to 1.0
8284

83-
- "Move .Pulsate/.Press/.Shake"
84-
will change the strength of movement for "self.view" from 0.0 to 1.0
85+
- "Move
86+
.Pulsate / .Press / .Shake
87+
Will change the strength of movement for "self.view" from 0.0 to 1.0
8588

86-
- "TapGesture .Fave/.AndroidClickable"
87-
will increase bubble radius
89+
- "TapGesture
90+
.Fave / .AndroidClickable
91+
Will increase bubble radius
8892

89-
- "Loading .Glare"
90-
no change
93+
- Loading
94+
.Glare
95+
No change
9196

9297
<!-- ![image](https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/ui3.gif) -->
9398

0 commit comments

Comments
 (0)