-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added image tint color #23
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,23 @@ | |||
{ |
There was a problem hiding this comment.
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
@@ -190,6 +213,7 @@ | |||
</scenes> | |||
<resources> | |||
<image name="background" width="1280" height="1280"/> | |||
<image name="glyphicons-basic-790-fish" width="32" height="32"/> |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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
@@ -15,7 +15,7 @@ | |||
<key>CFBundlePackageType</key> | |||
<string>FMWK</string> | |||
<key>CFBundleShortVersionString</key> | |||
<string>3.0.2</string> | |||
<string>$(MARKETING_VERSION)</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
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.