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:)
andisTabBarVisible
in UIViewController extension
👌 Improved
- ⚡️ Updated SwiftLint to 0.22.0
- Now
gradient(colors:, direction:)
returns aCAGradientLayer
as a@discardableResult
, so no changes are required
🛠 Fixed
- 🛠 Fixed a bug on
substring(to:)
function on String extension #32 - 🛠 Fixed non designable
UIView
s
🔄 Changed
- 🔄 Changed
UIViewLinearGradientDirection
toUIViewGradientDirection
enum name and properties in UIView extension. Easy transition, rename only - 🔄 Changed
smoothLinearGradient(colors:, direction:)
tosmoothGradient(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)
toeversed(preserveFormat:)
in String extension because is used instead ofreversed()
original String function
🚀 Thanks to @wdcurry for this release