BFKit-Swift v3.0.0 Release Notes

Release Date: 2017-09-23 // over 6 years ago
  • BFKit-Swift 3.0.0

    23 Sep 2017

    ➕ Added

    • ➕ Added support to Swift 4 and Xcode 9
    • ➕ Added support to App Extensions
    • ➕ Added setTabBarVisible(_:, animated:, duration:) and isTabBarVisible in UIViewController extension

    👌 Improved

    • ⚡️ Updated SwiftLint to 0.22.0
    • Now gradient(colors:, direction:) returns a CAGradientLayer as a @discardableResult, so no changes are required

    🛠 Fixed

    • 🛠 Fixed a bug on substring(to:) function on String extension #32
    • 🛠 Fixed non designable UIViews

    🔄 Changed

    • 🔄 Changed UIViewLinearGradientDirection to UIViewGradientDirection enum name and properties in UIView extension. Easy transition, rename only
    • 🔄 Changed smoothLinearGradient(colors:, direction:) to smoothGradient(colors:, direction:, type: = default) to allow radial gradients in UIView extension. Easy transition, thanks to default value
    • ✂ Removed appDelegate global variable
    • 🔄 Changed reversed(preserveFormat: = default) to eversed(preserveFormat:) in String extension because is used instead of reversed() original String function

    🚀 Thanks to @wdcurry for this release