Skip to content

Commit 844411f

Browse files
authored
Update README.md
1 parent 629f313 commit 844411f

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

README.md

+17-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<img src="https://github.com/VladK9/UIControlView/blob/main/Assets/Banner.png">
66
</p>
77

8-
Bottom view with multiple actions
8+
Bottom view with infinity actions
99

1010
## Navigate
1111

@@ -20,10 +20,24 @@ Bottom view with multiple actions
2020
- cornerRadius
2121
- view width/height
2222
- show/hide indicator
23+
<img src="https://github.com/VladK9/UIControlView/blob/main/Assets/Without Indicator.jpg" width="310">
24+
<img src="https://github.com/VladK9/UIControlView/blob/main/Assets/With Indicator.jpg" width="310">
25+
2326
- show with slide/fade animation
27+
<img src="https://github.com/VladK9/UIControlView/blob/main/Assets/Animation.GIF" width="350">
28+
2429
- close button title
2530
- close button background color
31+
```swift
32+
.theme(light: .black, dark: .white, any: .white)
33+
.color(.black)
34+
```
2635
- close button tint color
36+
```swift
37+
.theme(light: .black, dark: .white, any: .white)
38+
.color(.black)
39+
.auto - Color depends on closeBackColor (dark or light)
40+
```
2741

2842

2943
### Each item config
@@ -64,7 +78,7 @@ Bottom view with multiple actions
6478
- Support dark/light theme
6579

6680
## Installation
67-
Put `Sources` folder in your Xcode project. Make sure to enable Copy items if needed.
81+
Put `Sources` folder in your Xcode project. Make sure to enable `Copy items if needed`.
6882

6983
## Usage
7084

@@ -82,7 +96,7 @@ let actions: [UIControlViewAction] = [
8296
view.showHideIndicator = false
8397
view.closeTitle = "Close"
8498
view.closeBackColor = .theme(light: .black, dark: .white, any: .white) // .color(.black)
85-
view.closeTintColor = .theme(light: .white, dark: .black, any: .black) // .color(.white) // .auto - Color depends on closeBackColor (dark or light)
99+
view.closeTintColor = .theme(light: .white, dark: .black, any: .black) // .color(.white) // .auto
86100
view.showWithSlideAnimation = true
87101
view.delegate = self
88102
view.show(self, actions: actions)

0 commit comments

Comments
 (0)