Skip to content

Commit 2bcf1a0

Browse files
Update README.md
1 parent 684b6ee commit 2bcf1a0

1 file changed

Lines changed: 22 additions & 27 deletions

File tree

README.md

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
![image](https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/all_ipad_random.gif)
44

5-
Это слой кнопка
6-
которая имеет 9 стилей анимированного нажатия
5+
This is a layer button
6+
Has 9 styles of animated click
77

8-
Внутри Слоя
9-
можно создавать свои собственные кнопки
10-
subviews - с вложенные вьюхами
8+
Inside the layer you can style your button, create your own subviews
119

12-
+ Можно расширять проект
13-
добавляя новые стили-анимации-нажатия
10+
+ You can expand the project
11+
adding new click-animation-styles
1412

1513
## Requirements
1614

@@ -20,35 +18,32 @@ Swift 5.5+
2018

2119
## Installation
2220

23-
2421
## Usage
2522

2623
#### С storyboard или xib
2724

28-
1) Создайте вьюшку, которая наследуется `ButtonClickStyleView`
25+
1) Create a "view" that inherits from `ButtonClickStyleView`
2926

30-
<!--You can now style your button (Теперь вы можете стилизовать свою кнопку )-->
31-
2) Внутри этого слоя, создавайте свою собственную кнопку из других слоев
27+
2) Inside this layer, create your own button
3228

33-
3) В атрибутых инспектора (`Attributes Inspector` of `Interface Builder`
34-
вы можете сразу выбрать тип анимации нажатия кнопки `animationType`
35-
36-
Пока 9 стилей анимированного нажатия
29+
3) In Attributes Inspector of Interface Builder
30+
you can immediately select the button click `animationType`
3731
```swift
3832
#type #name
3933

40-
"Hide .Alpha"
41-
"Hide .Flash (more)"
42-
"Add .Shadow"
43-
"Add .Color"
44-
"Add .ColorFlat (border text)"
45-
"Move .Pulsate (new)"
46-
"Move .Pulsate"
47-
"Move .Press"
48-
"Move .Shake (new)"
49-
"Move .Shake"
50-
"Add .AndroidClickable (dark)"
51-
"Add .AndroidClickable (ligth)"
34+
hide .alpha
35+
hide .flash
36+
add .shadow
37+
add .shadow color
38+
add .color
39+
add .color flat (border text)
40+
move .pulsate new
41+
move .pulsate
42+
move .press
43+
move .shake new
44+
move .shake
45+
add .androidClickable dark
46+
add .androidClickable ligt
5247
```
5348

5449
4) Так же вы можете выбрать анимировать все слои `allSubviews` / или только 1

0 commit comments

Comments
 (0)