All notable changes to this project will be documented in this file.
BFKit
adheres to Semantic Versioning.
3.0.x
Releases - 3.0.0
2.0.x
Releases - 2.0.0
1.11.x
Releases - 1.11.0 | 1.11.11.10.x
Releases - 1.10.01.9.x
Releases - 1.9.0 | 1.9.1 | 1.9.2 | 1.9.31.8.x
Releases - 1.8.01.7.x
Releases - 1.7.0 | 1.7.11.6.x
Releases - 1.6.0 | 1.6.1 | 1.6.2 | 1.6.3 | 1.6.4 | 1.6.5 | 1.6.6 | 1.6.7 | 1.6.81.5.x
Releases - 1.5.0 | 1.5.1 | 1.5.2 | 1.5.31.4.x
Releases - 1.4.01.3.x
Releases - 1.3.0 | 1.3.1 | 1.3.21.2.x
Releases - 1.2.01.1.x
Releases - 1.1.01.0.x
Releases - 1.0.0
- Renamed UIWebView additions due to Apple deprecation #41
- Renamed
isValid
toisObjectValid
to avoid conflicts with other libraries #39 - Renamed
DegreesToRadians
toBFDegreesToRadians
to avoid conflicts with other libraries #37 - Renamed
RadiansToDegrees
toBFRadiansToDegrees
to avoid conflicts with other libraries #37
- Added support to Objective-C++ projects #37
Thanks to @ramonvic and tony-hoang999 for this release
- Added support to Xcode 11.1
- Fixed a typo in
onFirstStartForVersion:block:
that prevented the method to correctly work
Thanks to @ramonvic for this release
- Added
isJailbroken
to UIDevice category to check if the device is Jailbroken #33 - Added missing devices #33
Thanks to @Vanson for this release
Thanks to @durul and @insanoid for this release
Thanks to @durul and for this release
- Adjusting pt-BR typo #25
- Fixed a bug with Carthage
Thanks to @gabrielPeart for this release
- Added missing devices
- Added Swedish translation #24
- Minor enhancements & bug fix
Thanks to @pontus-andersson for this release
- Added CONTRIBUTING.md file
- Added BFCryptor class to encrypt/decrypt NSString and NSData
- Added NSData category with
convertToUTF8String
&convertToASCIIString
methods to convert NSData to NSString andconvertUUIDToString
method to convert an NSData UUID to an APNS valid UUID - Added
convertToNSData
method in NSString category to convert NSData to NSString - Added
isUUID
&isUUIDForAPNS
methods in NSString category to check if it is a valid UUID - Added
updateUniqueIdentifier:block:
to UIDevice category to check if the UUID has to be updated (Useful for APNS) - Added
brightness
methods directly to UIScreen category - Added Brazilian Portuguese #20 & #22
- Added BFTextField subclass of UITextField to limit the max characters
- Added automatic height for width for an UILabel #21
- Added
setFont:fromIndex:toIndex:
to sets a custom font from a range of characters #21 - Added
removeAllSubviews
from UIView category to remove all the subviews #21 - Added screen size macros in UIScreen category to check the device's screen size
- Changed how to access
lightFont
,regularFont
andboldFont
in UIFont category - All the encrypt/decrypt methods has been moved to the new BFCryptor class. The old ones will call the new ones from that class
- Fixed warnings for deprecated fonts #23
- Minor enhancements & bug fix
Thanks to @AshrafAbuBakr, @davidjelliott, @emersonbroga & @liushixiang for this release
- Added support to Nullability
- Added support to Carthage
- Added
flipImageHorizontally
&flipImageVertically
methods in UIImage category - Added missing devices
- Added more stronger check on BFDataStructures
- Now BFKit can be build as a Framework
- Moved
generateUUID:
from UIDevice category to String and NSString category - Minor enhancements
- Added new devices (iPhone, iPad and AppleTV)
- Added new methods for HEX representation
- Fixed a bug with
getSettings:objectForKey:
&setSettings:object:forKey
in NSFileManager category #15
Thanks to @jiongge and @fabiosoft for this release
- Added UINavigationBar category
- Added UIToolbar & UIBarButtonItem categories
- Added BFDataStructures class with primitive data structures
- Added new substring and indexOf methods in NSString category
- Added
fallbackTitle
parameter inshowTouchIDAuthenticationWithReason
method in BFTouchID class - Added touch on screen with
BFShowTouchOnScreen
andBFHideTouchOnScreen
macros - Added support for iPod Touch 6G
- Now to create dummy images you have to explicitly call
dummyImageNamed:
method in UIImage - Changed all
id
toinstancetype
in instance creation - Removed UIScreen methods from UIDevice category and created UIScreen category
- Changed
SCREEN_WIDTH
&SCREEN_HEIGHT
macros and fixed #13
Thanks to @jiongge for this release
- Added
onFirstStart
andonFirstStartForCurrentVersion
in BFApp class - Added
stringByReplacingWithRegex:withString:
in NSString category
- BFLog now prints:
timestamp filename:line function message
- NSDate category now has
nanosecond
and useautoupdatingCurrentCalendar
- Bug fix in DEMO App
- Added
initWithImageAsTemplate:tintColor:
in UIImageView category
- Changed method to check if a NSString is an email
- Added
colorForColorString
in UIColor category - Added
getIndexPathsForSection
in UITableView category - Added
takeScreenshotAndSave:
andtakeScreenshotWithDelay:save:completion:
in UIWindow category to save screenshots and make it after a delay
- Minor changes on Documentation
- Fixed a bug with Retina and Retina HD displays while resizing images
- Added
currentAppCPUUsage
in NSProcessInfo category
- Minor bugfixes
- Added
hex
andhexString
in UIColor category to easily create HEX colors from strings - Added dummy images and any blend mode in UIImage category
- Added
setMaskImage
method in UIImageView category and deprecated the oldest ones in UIImage category
macAddress
method in UIDevice category is now deprecated (from iOS 7 you cannot request for mac address)- Minor enhancements
- Fixed quality loss on most UIImage category manipulation methods
- Fixed a problem with CocoaPods & CocoaDocs (again)
- Fixed a problem with CocoaPods & CocoaDocs
- In NSString category the method
allFamilyAndFonts
now return an NSDictionary with all the family font names
- Added in NSString category the method
hasString:caseSensitive:
- Added system macros in UIDevice category
- Added iOS 9 fonts and marked as deprecated that is not available on iOS 9
- Performance improved
- Added Traditional Chinese (zh-Hant)
Thanks to @simonlinj for this release
- Added in UIView category the method
createGradientWithColors:direction:
- Added a comment on every enum, method or variable
- Fixed a warning on
runOnMainThread
method in NSThread category
- Fixed a problem with CocoaPod
- Added BFButton class
- Added in UIImageView category the method
initWithImage:center:
- Added in UIImage category the method
imageWithSize:backgroundColor:maskedText:font:
- Added in UIView category the method
translateAroundTheView:duration:direction:repeat:startFromEdge:
- Added in NSNumber category the methods
nextPowerOfTwo
andisPowerOfTwo
- Added Vietnamese
- Enhancements in NSDate category
- Minor bugfixes
Thanks to @simonlinj & @masd-duc for this release
- Added UITextView category
- Added NSObject category
- Added
BFLogDetailedString
to get more detailed log string in BFLog class - Added
dateInformationDescriptionWithInformation:dateSeparator:usFormat
method, to get timestamp in NSDate category - Added
fileSize:fromDirectory:
method, to get size of a file in NSFileManager category - Added some
@property
method, to get the RGB single component in UIColor category - Added
canProvideRGBComponents, contrastingColor & complementaryColor
methods in UIColor category - Added
imageFromText:font:fontSize:imageSize:
method, to create an UIImage from a given text in UIImage category
- Fixed UIImage category to support al types of display (Retina & Retina HD)
- Fixed UIImage category to remove all warnings
- Added in every class or category
@import
to import the needed frameworks
- Added NSDictionary category with
dictionaryToJson:
methods
- Fixed
reversedArray:
in NSArray category
Thanks to @simonlinj for this release
- Added
APP_DELEGATE
macro to retrive AppDelegate - Added Base64 encode/decode
- Added NSThread class with function
runOnMainThread
- Added
RGB & RGBA
macros to create UIColor objects - Added missing fonts (iOS 8)
- Added missing Audio IDs
- Added some localized strings
- Complete rewrite of BFLog class with more details in log and string of all logs
- Added NSMutableDictionary category
- Added in NSArray the method
objectAtCircleIndex:
- Added in BFSystemSound the ability to create and dispose custom sound
- Added BFApp and BFLog classes
- In NSArray the method
arrayToJson:
now returns the localized string error - NSArray & NSMutableArray enhancements
Thanks to @antwork for this release
- Added UIWindow category
- Added system macros
- Added new iOS devices
- Added pulse animation
- Added Russian, Ukrainian, Indonesian and Chinese
- Minor enhancements
- Minor bugfixes
Thanks to @hiralin & @bontangster for this release
- Initial release