-
Not working:
static let white_darker = UIColor.init(red: 0.912, green: 0.917, blue: 0.917, alpha: 1.0)
Working:
static let white_darker = UIColor(red: 0.912, green: 0.917, blue: 0.917…
-
Hey,
Thank you for creating this utility, it's quite neat.
I encountered an error while trying it out.
In your file, you have made use of the UIColor with the following constructor
`UIColor(hex: i…
-
let color = Color.red
let scanner = Scanner(string: self.description.trimmingCharacters(in: CharacterSet.alphanumerics.inverted))
后取的值无法转成 rgba
-
Does not show colors for UIColor instances created with the hex initializer.
-
In Xcode 14, when compiling, it reports that UIColor is not found and cannot find it in scope. The error is in ChartLabel.swift, and it is true that UIColor is not imported.
-
-
**Is your feature request related to a problem? Please describe.**
Most mature iOS applications use either fully or partially UIKit for their user interfaces. This means that a purely SwiftUI driven …
-
Popular UIColor library [Hue](https://github.com/hyperoslo/Hue) uses the UIColor(hex:) constructor in an extension, leading to a conflict with the convenience init in Misc.swift for Spring.
`public e…
-
hi
@property (nonatomic, assign) UIColor *buttonBgColor;
@property (nonatomic, assign) UIColor *buttonBorderColor;
@property (nonatomic, assign) UIColor *titleColor;
should be strong! otherwise …
-
- UIColor
- colorWithPatternImage:
- 十六进制颜色
- 渐变色
- 颜色空间