SwiftRichString icon indicating copy to clipboard operation
SwiftRichString copied to clipboard

There is a problem with the method running : convenience init?(image: Image?, bounds: String? = nil)

Open HelloRyanCR7 opened this issue 1 year ago • 1 comments

AttributedString(image: R.image.eye_open(), bounds: NSCoder.string(for: CGRect(x: 0, y: 20, width: 25, height: 25)))!

bounds string cannot generate CGRect

HelloRyanCR7 avatar Mar 09 '24 06:03 HelloRyanCR7

Looking at the source code requires this parameter format:"0,0,25,25"

HelloRyanCR7 avatar Mar 09 '24 06:03 HelloRyanCR7