Releases: FabrizioBrancati/BFKit-Swift
Releases · FabrizioBrancati/BFKit-Swift
Fixing Pod
BFKit-Swift 6.0.1
20 Oct 2019
Fixed
- Fixed
swift_version
in podspec file
Swift 5.1 Support
BFKit-Swift 6.0.0
20 Oct 2019
Added
- Added support to Xcode 11.1 and Swift 5.1
- Added support to WKWebView #44
- Added iPhone 11, 11 Pro and 11 Pro Max in UIDevice extension
Deprecated
- Deprecated
FontName
andFamilyFontName
in UIFont extension
Removed
- Removed support to UIWebView #44
- Removed
isURLValid
on Linux
Improved
- Updated SwiftLint to 0.35.0
Thanks to @Tripwire999 for this release
Swift 5.0 Support
BFKit-Swift 5.0.0
23 Apr 2019
Added
- Added support to Xcode 10.2 and Swift 5.0
Changed
- Renamed
countSymbols()
tocountPunctuations()
in String extension, the old one has been deprecated but still valid - Changed parameter type and return type of
degreesToRadians(_:)
andradiansToDegrees(_:)
fromFloat
toDouble
in Number extension - Changed parameter type of
rotate(radians:)
androtate(degrees:)
fromFloat
toDouble
in UIImage extension - Changed
search(_:)
function in List struct that now returnsInt
instead ofInt?
by returning-1
instead ofnil
if theElement
is not found - Changed BFLog messages from emojis to
[ERROR]
,[WARNING]
,[DEBUG]
and[INFO]
Improved
- Improved
count*
chars functions in String extension - Improved build performance
- Updated SwiftLint to 0.31.0
Removed
- Removed all the deprecated functions and variables
Spend That Money
BFKit-Swift 4.1.0
03 Feb 2019
Added
- Added iPhone XS, iPhone XS Max and iPhone XR in UIDevice extension
- Added
isFromTestFlight
function in BFApp enum to check if the app has been installed from TestFlight
Thanks to @gennick for this release
Release It Please
BFKit-Swift 4.0.1
27 Dec 2018
Added
- Added new iPad Pro 11-inch and 12.9-inch in UIDevice extension
- Added missing CoreGraphics files to CocoaPods
Improved
- Improved settings reading and saving in FileManager extension
- Updated SwiftLint to 0.29.2
Removed
- Removed watchOS 2.0 support in favor of watchOS 3.0, thanks to an App Store submission bug #11
Swift 4.2 Support
BFKit-Swift 4.0.0
11 Oct 2018
Added
- Added support to Xcode 10 and Swift 4.2
- Added
localized
andnumberValue
variables in String extension - Added
queryStringParameter(parameter:)
,queryDictionary()
andurlValid()
functions in String extension
Changed
- BFTouchID is deprecated and will be removed in a future version of BFKit-Swift. Please use BFBiometrics enum instead
lightFont
in UIFont extension is deprecated and will be removed in a future version of BFKit-SwiftregularFont
in UIFont extension is deprecated and will be removed in a future version of BFKit-SwiftboldFont
in UIFont extension is deprecated and will be removed in a future version of BFKit-Swift- All random functions in Number extension are deprecated and will be removed in a future version of BFKit-Swift
- Changed from Codecov to Coveralls service for code coverage
Improved
- Updated package tools version to 4.2
Fixed
- Now
.applicationSupport
case available inPathType
enum inFileManager
extension fully works, even if Application Support folder doesn't exist
That Corner Radius
BFKit-Swift 3.2.1
14 Sep 2018
Improved
- Updated SwiftLint to 0.27.0
Fixed
- Fixed wrong corner radius in
cornerRadius(corners:, radius:)
function in UIView extension
Big Improvements
BFKit-Swift 3.2.0
14 Jul 2018
Added
- Added
force
attribute togenerateUniqueIdentifier(save: Bool = default, force: Bool = default)
in UIDevice extension with a default value, hence no changes are required - Added
resetFirstStart(version: String = default)
in BFApp struct, to reset the App like has never been opened - Added FileManager extension to Linux
Improved
- Improved code of a lot of classes / structs and enums
- Updated SwiftLint to 0.26.0
- Use of
canImport()
instead ofos()
- Converted static only structs to enums to avoid initialization
- Removed all force unwrapping to avoid possible crashes
- Fixing some memory leaks
Deprecated
- BFTouchID struct in favour of BFBiometrics enum
lightFont
,mediumFont
andboldFont
from UIFont extensionlength
in favour ofcount
in String extension
Removed
- Removed Hound CI
Swift 4.1 Support
BFKit-Swift 3.1.2
2 Apr 2018
Added
- Added support to Xcode 9.3 and Swift 4.1
Some Improvements
BFKit-Swift 3.1.1
18 Feb 2017
Added
- Added
swift_version
property in podspec file for CocoaPods 1.4.0 - Added Hound CI
Improved
- Now
cornerRadius(corners:, radius:)
function in UIView extension usesmaskedCorners
for iOS 11 or above fadeDuration
in BFButton class is now a TimeInterval- Updated device names based on The iPhone Wiki
- Updated SwiftLint to 0.25.0
Fixed
- Now Swift Package Manager correctly builds BFKit-Swift with Swift 4