Giter Club home page Giter Club logo

initialsimageview's People

Contributors

abdouoi avatar bachonk avatar bernaferrari avatar chickdan avatar coincidentalcode avatar dolzhenko-tony avatar numen31337 avatar synthemesc avatar tkeithblack avatar vladvlasov256 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

initialsimageview's Issues

Swift 4 problem

All its working now with new commit. Thanks

Hi,

With Swift 4 we have a error:

Value of type 'UIImageView' has no member 'setImageForName'

Thanks a lot!

Add Dark Mode support

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 using cgColor, which doesn't automatically update.

no border for imageview

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

Crash

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

Problem for single String

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.