5
5
<img src =" https://github.com/VladK9/UIControlView/blob/main/Assets/Banner.png " >
6
6
</p >
7
7
8
- Bottom view with multiple actions
8
+ Bottom view with infinity actions
9
9
10
10
## Navigate
11
11
@@ -20,10 +20,24 @@ Bottom view with multiple actions
20
20
- cornerRadius
21
21
- view width/height
22
22
- 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
+
23
26
- show with slide/fade animation
27
+ <img src =" https://github.com/VladK9/UIControlView/blob/main/Assets/Animation.GIF " width =" 350 " >
28
+
24
29
- close button title
25
30
- close button background color
31
+ ``` swift
32
+ .theme (light : .black , dark : .white , any : .white )
33
+ .color (.black )
34
+ ```
26
35
- 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
+ ```
27
41
28
42
29
43
### Each item config
@@ -64,7 +78,7 @@ Bottom view with multiple actions
64
78
- Support dark/light theme
65
79
66
80
## 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 ` .
68
82
69
83
## Usage
70
84
@@ -82,7 +96,7 @@ let actions: [UIControlViewAction] = [
82
96
view.showHideIndicator = false
83
97
view.closeTitle = " Close"
84
98
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
86
100
view.showWithSlideAnimation = true
87
101
view.delegate = self
88
102
view.show (self , actions : actions)
0 commit comments