Skip to content

Instantly share code, notes, and snippets.

@fcaldarelli
Created December 17, 2018 23:49
Show Gist options
  • Save fcaldarelli/c7b5f1ddf61a4ee438493dac1ae3f6c3 to your computer and use it in GitHub Desktop.
Save fcaldarelli/c7b5f1ddf61a4ee438493dac1ae3f6c3 to your computer and use it in GitHub Desktop.
UIImageView tint not change from xib
import UIKit
// fixing Bug in XCode
// http://openradar.appspot.com/18448072
extension UIImageView {
override open func awakeFromNib() {
super.awakeFromNib()
self.tintColorDidChange()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment