Skip to content

Added image tint color#23

Open
BossOz wants to merge 1 commit intopmusolino:masterfrom
BossOz:master
Open

Added image tint color#23
BossOz wants to merge 1 commit intopmusolino:masterfrom
BossOz:master

Conversation

@BossOz
Copy link

@BossOz BossOz commented May 7, 2020

I use to have all my icons with one color (black in this case) and I change the color programmatically on iOs 13.
I have added a property to do that.

@@ -0,0 +1,23 @@
{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please use pdf instead of png slices? Then u'll be able to use one source for that

</scenes>
<resources>
<image name="background" width="1280" height="1280"/>
<image name="glyphicons-basic-790-fish" width="32" height="32"/>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe u should change the name of the image. please set a name like the other ones.

@IBInspectable
var imageTintColor: UIColor {
get {
if let color = _imageTintColor {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

guard let color = _imageTintColor else { return .white }
return color

<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.0.2</string>
<string>$(MARKETING_VERSION)</string>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments