@@ -10,14 +10,14 @@ public struct UIControlViewConfig {
10
10
public var viewWidth : CGFloat !
11
11
public var viewHeight : CGFloat !
12
12
13
- // Show hide indicator or not
13
+ // Show/ hide indicator
14
14
public var showHideIndicator : Bool !
15
15
16
16
// Max items to start scroll
17
17
public var itemsToScroll : Int !
18
18
19
19
public init ( cornerRadius: CGFloat = 9 ,
20
- viewWidth: CGFloat = UIScreen . main. bounds. width- 26 ,
20
+ viewWidth: CGFloat = UIScreen . main. bounds. width- 30 ,
21
21
viewHeight: CGFloat = 80 ,
22
22
showHideIndicator: Bool = false ,
23
23
itemsToScroll: Int = 5 ) {
@@ -29,6 +29,7 @@ public struct UIControlViewConfig {
29
29
self . showHideIndicator = showHideIndicator
30
30
self . itemsToScroll = itemsToScroll
31
31
}
32
+
32
33
}
33
34
34
35
// MARK: - UIControlViewQueue
@@ -43,6 +44,7 @@ public struct UIControlViewQueue {
43
44
self . config = config
44
45
self . actions = actions
45
46
}
47
+
46
48
}
47
49
48
50
// MARK: - UIControlViewID
@@ -54,6 +56,7 @@ class UIControlViewID {
54
56
static let containerViewID = 200020002
55
57
static let hideViewID = 300030003
56
58
static let IDArray = [ backViewID, containerViewID, hideViewID]
59
+
57
60
}
58
61
59
62
class UIControlViewColors {
0 commit comments