InitialsImageView icon indicating copy to clipboard operation
InitialsImageView copied to clipboard

Problem for single String

Open SmartHbdev opened this issue 2 years ago • 0 comments

Everything works fine for "John do" but only "John" give nothing.

var nameComponents = string.uppercased().components(separatedBy: CharacterSet.letters.inverted)

nameComponents is nil with only "John". I don't know if it's expected but would be nice to get only a J in this case

SmartHbdev avatar Sep 13 '22 02:09 SmartHbdev