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
Animatable checkbox: Default checked and unchecked icon #68
Comments
What's the difference with the existing images in public func configCheckBoxCheckedImage() {
guard let unwrappedCheckedImage = checkedImage else {
return
}
setBackgroundImage(unwrappedCheckedImage, forState: .Selected)
setBackgroundImage(unwrappedCheckedImage, forState: [.Selected, .Highlighted])
}
public func configCheckBoxUncheckedImage() {
guard let unwrappedUncheckedImage = uncheckedImage else {
return
}
setBackgroundImage(unwrappedUncheckedImage, forState: .Normal)
} |
@tbaranes To avoid including any asset in IBAnimtable, the user need to have two images when they use Do you think it is useful to provide default |
I see. Yeah, that can be really useful for prototyping (like predefined{Color,Gradient}. I'm just not sure to includes specific images directly in Anyway, I now understand that issue 😆 |
Sounds cool 👍 |
Using path to avoid image assets?
The text was updated successfully, but these errors were encountered: