SwiftyUtils v0.5.0 Release Notes

Release Date: 2016-09-14 // over 7 years ago
  • API breaking changes

    • ๐Ÿ‘ Swift 3 support. README is up to date, please report if you find any diffs
    • โšก๏ธ Some APIs have been updated to be more swifty, check out the README for more information

    ๐Ÿšš Classes removed:

    • Async

    ๐Ÿšš Extensions removed:

    • ๐Ÿ’ป {UI/NS}Color:
    convenience init(hex: String, alpha: Float)
    
    • UIDevice:
    class func deviceModel() -> String
    

    โœจ Enhancements

    ๐Ÿ‘€ Note: Take a look into the README to see the details of all the following enhancements

    • ๐Ÿ‘ watchOS support

    ๐Ÿ†• New classes:

    • โœ… UITesting
    • โœ… UnitTesting

    ๐Ÿ†• New iOS classes:

    • Simulator

    ๐Ÿ†• New extensions:

    • Color:
    var redComponent: Int
    var greenComponent: Int
    var blueComponent: Int
    var alpha: CGFloat
    
    • String:
    init?(value: Float, maxDigits: Int)
    init?(value: Double, maxDigits: Int)
    
    • Bundle (now available for the fourth platforms):
    var appName: String
    var appVersion: String
    var appBuild: String
    var schemes: String
    var mainScheme: String
    

    ๐Ÿ†• New iOS extensions:

    • UIStoryboard:
    static var main: UIStoryboard
    
    • UISwitch:
    func toggle(animated: Bool = true)
    
    • UIImage:
    var original: UIImage
    var template: UIImage