Skip to content

Swift 5.0 Support

Compare
Choose a tag to compare
@FabrizioBrancati FabrizioBrancati released this 23 Apr 21:25
· 44 commits to master since this release
18d911b

BFKit-Swift 5.0.0

23 Apr 2019

Added

  • Added support to Xcode 10.2 and Swift 5.0

Changed

  • Renamed countSymbols() to countPunctuations() in String extension, the old one has been deprecated but still valid
  • Changed parameter type and return type of degreesToRadians(_:) and radiansToDegrees(_:) from Float to Double in Number extension
  • Changed parameter type of rotate(radians:) and rotate(degrees:) from Float to Double in UIImage extension
  • Changed search(_:) function in List struct that now returns Int instead of Int? by returning -1 instead of nil if the Element 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