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 11Pod ::Spec . new do |s |
22 s . name = 'SwiftlyUI'
3- s . version = '1.2.9 '
3+ s . version = '1.2.10 '
44 s . summary = 'Swift-style declarative UIKit Plus'
55 s . homepage = 'https://github.com/CoderLineChan/SwiftlyUI'
66 s . license = { :type => 'MIT' , :file => 'LICENSE' }
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ public extension UIColor {
7575 }
7676
7777 /// 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
8080 }
8181
8282 /// SwiftlyUI - Create Color with hex Int.
@@ -86,7 +86,7 @@ public extension UIColor {
8686
8787 /// SwiftlyUI - Create Color with hex string.
8888 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)
9090 }
9191
9292 /// SwiftlyUI - Create Color with hex Int.
You can’t perform that action at this time.
0 commit comments