File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'SwiftlyUI'
3
- s . version = '1.2.9 '
3
+ s . version = '1.2.10 '
4
4
s . summary = 'Swift-style declarative UIKit Plus'
5
5
s . homepage = 'https://github.com/CoderLineChan/SwiftlyUI'
6
6
s . license = { :type => 'MIT' , :file => 'LICENSE' }
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ public extension UIColor {
75
75
}
76
76
77
77
/// SwiftlyUI - Create Color with hex string.
78
- static func color( withHexStr hex : String , alpha: CGFloat = 1.0 ) -> UIColor {
79
- return UIColor ( hexStr: hex , alpha: alpha) ?? UIColor . clear
78
+ static func color( with hexString : String , alpha: CGFloat = 1.0 ) -> UIColor {
79
+ return UIColor ( hexStr: hexString , alpha: alpha) ?? UIColor . clear
80
80
}
81
81
82
82
/// SwiftlyUI - Create Color with hex Int.
@@ -86,7 +86,7 @@ public extension UIColor {
86
86
87
87
/// SwiftlyUI - Create Color with hex string.
88
88
static func hexColor( _ hex: String , alpha: CGFloat = 1.0 ) -> UIColor {
89
- return UIColor . color ( withHexStr : hex, alpha: alpha)
89
+ return UIColor . color ( with : hex, alpha: alpha)
90
90
}
91
91
92
92
/// SwiftlyUI - Create Color with hex Int.
You can’t perform that action at this time.
0 commit comments