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