SwiftyUtils v0.7.0 Release Notes

Release Date: 2017-01-15 // over 7 years ago
  • API breaking changes

    • ⚡️ Some APIs have been updated to follow the Swift 3 API guidelines, check out the README for more information

    ✨ Enhancements

    👀 Note: Take a look into the README to see the details of all the following enhancements

    • UILabelExtension (iOS only)
    public func setLineHeight(_ lineHeight: CGFloat)
    
    • CGRectExtension
    public var x: CGFloat
    public var y: CGFloat
    public func with(x: CGFloat) -> CGRect
    public func with(y: CGFloat) -> CGRect
    public func with(width: CGFloat) -> CGRect
    public func with(height: CGFloat) -> CGRect
    public func with(origin: CGPoint) -> CGFloat
    public func with(size: CGSize) -> CGFloat
    
    • UIViewExtension and NSViewExtension
    public var x: CGFloat
    public var y: CGFloat
    public var width: CGFloat
    public var height: CGFloat