InitialsImageView icon indicating copy to clipboard operation
InitialsImageView copied to clipboard

A simple UIImageView extension for using initials as a profile image, written in swift

Results 5 InitialsImageView issues
Sort by recently updated
recently updated
newest added

Hi, first of all, thank you for this library :) Currently the background color doesn't get updated if the user switches between light and dark mode. This is because of...

enhancement

I see no option to set the border width and color for image. Can you add the functions as well?

enhancement

Crashed: com.apple.main-thread 0 InitialsImageView 0x1066d8f44 specialized UIImageView.imageSnapshot(text:backgroundColor:circular:textAttributes:gradient:gradientColors:) + 74 (InitialsImageView.swift:74) 1 InitialsImageView 0x1066d6364 UIImageView.setImageForName(_:backgroundColor:circular:textAttributes:gradient:gradientColors:) () 2 SocialBoards 0x104935390 closure #1 in UIImageView.downloadFrom(link:contentMode:rounded:loader:lettersToAssign:backgroundColor:) + 4373861264

cannot reproduce

This happens randomly. After a few scene changes, UIGraphicsGetCurrentContext returns nil.

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...