BFKit-Swift v2.5.0 Release Notes

  • 4 Jul 2017

    ➕ Added

    • ➕ Added init?(iso8601:) and iso8601() functions to create a Date from an ISO 8601 String and vice-versa in Date & String extensions
    • ➕ Added new functions in NSAttributedString extension to handle left, right, center and justified text alignment
    • ➕ Added smoothLinearGradient(colors:, direction:) function in UIView extension that uses CGGradient instead of CAGradientLayer
    • ➕ Added iPad Pro 12.9 2nd Generation and iPad Pro 10.5 devices in UIDevice extension
    • ➕ Added fade(label:, duration: = default, toString:) and fade(label:, duration: = default, toAttributedString:) animation functions in WKInterfaceController extension
    • ➕ Added Set struct extension
    • ➕ Added append(_ value:, key:) function in Dictionary extension
    • ➕ Added init?(view:) function in UIImage extension

    👌 Improved

    • ✅ Now dateString(format: = default) in Date extension has a new locale parameter with a default value, so no changes are required
    • ✅ Now init?(parse dateString:, format: = default) in Date extension has a new locale parameter with a default value, so no changes are required
    • ⚡️ Updated SwiftLint to 0.20.0

    🛠 Fixed

    • 🛠 Fixed a bug where you cannot concatenate multiple attributed strings