SwiftyUtils v0.4.0 Release Notes
Release Date: 2016-09-11 // over 7 years ago-
API breaking changes
- โก๏ธ Color extension initializer has been updated:
convenience init?(hexString: String) convenience init?(hexString: String, alpha: Float)
becomes
convenience init(hex: String) convenience init(hex: String, alpha: Float)
โจ Enhancements
๐ Note: Take a look into the README to see the details of all the following enhancements
๐ New protocols available:
- Then
- ๐ NSBundle is now available for macOS
๐ New extensions:
- Color:
func darker(amount: CGFloat = 0.25) -> SwiftyColor func lighter(amount: CGFloat = 0.25) -> SwiftyColor
- UIImage:
func filled(with color: UIColor?) -> UIImage