- UIDevice: add new iPhone and AppleWatch devices.
- UIColor: init function now forces the RGB values to be between 0.0 and 1.0.
- UIImage:
resizedImage
functions now return an optional object. - Minor
GET_DATE
function improvement. - Update README with examples written in Swift 3.
- Print a warning if a localized string can't be found.
- Fix crash on non NSString values when using GET_STRING()
- Fix Carthage deploy.
- Add Carthage support.
- Add
logAppVersion
function. - NSBundle:
entryInPlist
functions are now also object functions. - NSDate: all helper functions now used the
defaultTimeZone
. - UIView: add
loadFromNib:fromBundle:
function.
- UIImage: add
sizeInPixel
function. - CGSize: add
CGSizeMultiply
function.
- Add support for iPhone SE and iPro 9,7 inches.
- Add
performBlock
C functions.
- Remove iOS7Delta define.
- NSDate: add
GET_DATE_FORMAT
function.
- NSDate:
dateFromString
functions now use the system time zone. - NSDate: remove
gregorianCalendarIdentifier
deprecated function. - NSObject: add
performBlockInMainThread
function. - NSString: add
stringFromDate:format:timeZone:
function. - NSString: add
stringFromDate:style:timeZone:
function.
This version also fix some unit tests.
- CGSize:
CGSizeAdjustToCGRect
has be changed toCGSizeAdjustToCGRect
. - CGSize: The logic behind
CGSizeAdjustToCGSize
has been mergely improved. - Function
iOS7Delta
has been removed. - UIView: Getters and setters for receiver's frame are now attributes and no longer functions.
- NSObject: Remove deprecated functions
performBlock:afterDelay:completion:
andperformBlock:afterDelay
. - UIDevice: Function
platform
has been renamedcurrentPlatform
. - UIDevice: Function
platformString
has been renamedcurrentPlatformName
. - UIDevice: Functions
isSlowDevice
andisIPad
are now properties.
- NSDate: fix minor Timezone Bug in
currentDayDate
- Improve swift compatibility for all classes and functions!
- The test project is now coded in Swift.
- NSString: add
randomString
function. - NSString: add
isNumeric
property. - NSString:
isAlpaNumeric
,isEmail
,isPhoneNumber
are now properties. - NSString: add
lastOccuranceForPattern
function. - UIColor:
colorFromHexString
now returns nil if parameter is nil. - DKHelper:
VALID
also returns nil if the key is nil or an instance of NSNull. - DKHelper:
GET_NUMBER
now use theen_US
locale to convert a string into a date object. - CGRect: add
CGRectSetInsideContainer
function. - CGRect: fix minor bugs by using standard CGRectGet functions.
- DKRegex: improve file extension.
- NSBundle:
numberEntryInPListForKey
now uses theen_US
locale. - UIView:
matchParentConstraints
now returns an array ofNSLayoutConstraints
. - UIView:
loadFromNib
avoid crash when invalid nib name. - UIScreen: Fix
is55InchScreen
function. - NSObject: Function
performBlock:completion:
will now execute the completion block even if the main block isnil
. - UIDevice: Add function
platformNameFromString:
. - UIDevice: Add function
isSlowDeviceForPlatform:
. - NSPredicate: Swift support of the functions improved.
This version fixes crashes in the performBlock
functions and add many helpers for the NSBundle and NSDate classes.
- (NSString *)stringEntryInPListForKey:(NSString *)key;
- (BOOL)booleanEntryInPListForKey:(NSString *)key;
- (NSNumber *)numberEntryInPListForKey:(NSString *)key;
- (void)logCurrentDateWithDateStyleAndAllTimeStyle:(NSDateFormatterStyle)dateStyle;
- (void)logAllFormats;
- (BOOL)isOlderOrEqualThan:(NSDateComponents *)dateComponent;
- (BOOL)isOlderOrEqualThan:(NSInteger)years months:(NSInteger)months days:(NSInteger)days hours:(NSInteger)
- (BOOL)isOlderOrEqualThanYearInterval:(NSInteger)year;
- (BOOL)isOlderOrEqualThanMonthInterval:(NSInteger)month;
- (BOOL)isOlderOrEqualThanDayInterval:(NSInteger)days;
- (BOOL)isOlderOrEqualThanHourInterval:(NSInteger)hours;
- (BOOL)isOlderOrEqualThanMinuteInterval:(NSInteger)minutes;
- (BOOL)isOlderOrEqualThanSecondInterval:(NSInteger)seconds;
- Nullable block parameters
- Crash fixes
- Add UIImage::resizedImageToSize:
- Remove calls to gregorianCalendarIdentifier
- Add NSOperation::addOperationWithBlock:timeout:
- Improvement on UIView: now use
CGRectGet
functions.
- Bug fix on GET_DATE(NSDictionary *dict, id key)
- Add UIColor::fadeFromBaseColor:ToColor:withPercentage:
- Add NSString::strimFromDate:style
- Add DEPRECATED NSObject::performBlock:afterDelay:completion:
- Add DEPRECATED NSObject::performBlock:afterDelay:
- Improve NSDate::fullDisplayTime
- Improve NSDate::hourDisplayTime
- Add UIView::loadFromNib:
- Add UIView::matchParentConstraints
- Add UIView::verticalGradientLayer:topColor:bottomColor:
- Add NSString::randomString:
- Add NSString::randomNumericString:
- Add NSString::trimWhitespaces
- Add NSString::removeAllNewlinesAndIllegalChars
- Add NSString::isEmail
- Add NSString::isAlphaNumeric
- Add NSString::isPhoneNumber
- Add UIColor::randomColor
- Add UIImage::scaleImage:size:
- Add UIImage::resizedImageToScreenSize
- Add NSBundle::entryInPListForKey:
- Add NSDate::dateFromString:style:
- Add NSDate::fullDisplayTime
- Add NSDate::hourDisplayTime
- Add NSDate::displayableString
- Rename NSObject::performBlockAfterDelay:block:
- Rename NSObject::performBlockAfterDelay:block:completion:
- Fix Obj-C xcode project
- NSDate now compatible with Xcode 5.1.1
- Remove categorised class UIImage. Please now use the dedicated library: https://github.com/kevindelord/UIImage-Autoresize
- Fix UIImage initializer.
- Improve UIImage class to generate an object with a file corresponding to the current device size.
- GET_NUMBER bug fix
- NSPredicate documentation fixed
- NSPredicate bug fixes
- Bug fixes
- Add DKRegex class
- Improve documentation
- Add localized function L()
- Add NSPredicate function helpers
- Add Number and cast functions
- Add DKLog as a function
- Add regex functions
- Add functions to get the current screen size
- Add functions to get valid data from a dictionary
- Add Math fonction to convert radians and degrees
- Add categorised methods to UIDevice to check system version
- Create array category for file extensions
- Add is4InchScreen, is47InchScreen, is55InchScreen defines.
- ISO8601_DATE_FORMAT define has been removed. Use NSDate::ISO8601StringFormat instead.
- Add NSDate::ISO8601StringFormat method to get the ISO 8601 date format as a string.
- UIColorFromHexa define has been removed. Use UIColor::colorFromHexString instead.
- UIColor: add color from hexa methods
- UIView::roundCorner methods improved with maskToBounds parameter.
- Update device family with iPhone 6 and iPhone 6 Plus.
- NSCalendar unit warning fixes for iOS 8.
- NSDate: Use default timezone for NSDate components
- Add minor documentation on UIImage class
- NSString::stringFromDate now use temporary timezone set to 0
- Add Getter for UIVIew frame attributes
- Add NSNumber::currencyStringValue
- MINMAX macro now use <= and >= operator
- Add UIColorFromHexa maccro
- Improve Documentation
- Improve Test workspace
- Add and improve performBlock methods
- Add UIImageView::initwithframe:image(name)
- Add NSDate component getters
- Improve NSDate::dateByAddingInterval methods
- Add NSDate::midnightDate
- UIDevice::isSlowDevice bug fix
- NSDate: add dateFromISOString
- NSObject: add performBlockInBackground
- NSDate improvements
- Fix header in files.
- Add HTML documentation
- Add comments for every methods and functions
- Improve CGSize and CGRect functions
- Create multiple files for each category
- Create development and test projects
- Improve UIDevice methods
- Improve NSDarte default format: ISO8601
- Initial release.