Releases: VladK9/UIControlView
Releases · VladK9/UIControlView
1.1.3 Fixes
1.1.2.1 Fixes
Update UIControlView.swift
1.1.2 Fixed incorrect presentation position
- Fixed incorrect presentation position
1.1.1 Changed close button configuration
view.closeButton.title = "Close"
view.closeButton.tintColor = .auto
view.closeButton.backColor = .theme(light: .black, dark: .white, any: .white) // .color(.black)
1.1 Double action
Single action
.init(item: .onlyTitle("Item with single action"), handler: { _ in
}),
Double action
.init(item: .onlyTitle("Item with double action"),
selectionConfig: .backWithBorder(.systemPurple), isPreselected: true,
isSelected: { _ in
//Selected
}, isUnselected: { _ in
//Unselected
})
1.0.8 Fixed close animation
Fixed close animation
1.0.7.1 Updated Readme
Updated Readme
1.0.7 Close button now support color changes
Close button now support color changes
.theme(light: .black, dark: .white, any: .white) // Color for each theme
.color(.white) // Single color
.auto // closeTintColor depends on closeBackColor (dark or light)
1.0.6 Code reduced
Code reduced
1.0.5 Fixed .standard background color, Code reduced
Fixed .standard
background color
Code reduced