Skip to content

Do You Need Gradient Helpers? #7

Closed
@PrideChung

Description

Hi, all

Creator of this repo is asking for advices, again.

For the recently major update, I removed all gradient helpers those were provided in previous versions. For myself, I never use those helpers in any actual project. Creating a nice gradient is a serious design work, I'd rather do it with PhotoShop instead of adjusting gradient parameters and hitting command+R again and again to see how it looks like. The only reason for me to create those helpers is to make the demo screenshot looks cooler.

I like the UNIX philosophy, do one thing and do it well. For FontAwesomeKit, it should focus on providing icons fast and easy. Making gradients programmatically sounds like something NSGradient would do. (If there's NSGradient on iOS).

Besides, you can still make gradient icons or backgrounds by providing a UIColor with pattern image. Check the example project, there's a demo for that. While I making this demo I feel much more easier to create a nice gradient in Pixelmator than in code. If you want to create an icon even complicated than that, you really should create it with image editor.

If most of you really want those helpers, I will create a separated project to provide equal functions, the project will be much more organized and reusable. Just leave a comment and let me know, I don't want to create something no one will actually use, not even myself.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions