BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
FontName
and FamilyFontName
in UIFont extensionisURLValid
on LinuxThanks to @Tripwire999 for this release
countSymbols()
to countPunctuations()
in String extension, the old one has been deprecated but still validdegreesToRadians(_:)
and radiansToDegrees(_:)
from Float
to Double
in Number extensionrotate(radians:)
and rotate(degrees:)
from Float
to Double
in UIImage extensionsearch(_:)
function in List struct that now returns Int
instead of Int?
by returning -1
instead of nil
if the Element
is not found[ERROR]
, [WARNING]
, [DEBUG]
and [INFO]
count*
chars functions in String extensionisFromTestFlight
function in BFApp enum to check if the app has been installed from TestFlightThanks to @gennick for this release
localized
and numberValue
variables in String extensionqueryStringParameter(parameter:)
, queryDictionary()
and urlValid()
functions in String extensionlightFont
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.applicationSupport
case available in PathType
enum in FileManager
extension fully works, even if Application Support folder doesn't existforce
attribute to generateUniqueIdentifier(save: Bool = default, force: Bool = default)
in UIDevice extension with a default value, hence no changes are requiredresetFirstStart(version: String = default)
in BFApp struct, to reset the App like has never been openedcanImport()
instead of os()
lightFont
, mediumFont
and boldFont
from UIFont extensionlength
in favour of count
in String extensionswift_version
property in podspec file for CocoaPods 1.4.0cornerRadius(corners:, radius:)
function in UIView extension uses maskedCorners
for iOS 11 or abovefadeDuration
in BFButton class is now a TimeInterval