Skip to content

BFKit 1.9.0

Compare
Choose a tag to compare
@FabrizioBrancati FabrizioBrancati released this 01 Feb 00:28
· 69 commits to master since this release

1.9.0

Added

  • 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 and convertUUIDToString 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

Improved

  • Changed how to access lightFont, regularFont and boldFont 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