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