Skip to content

ObjectiveC helper categories and classes for cross-project use

License

Notifications You must be signed in to change notification settings

xjki/ObjCHelpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObjCHelpers

ObjectiveC helper categories and classes for cross-project use.

UIImage helper methods

+ (UIImage *) imageWithColor :(UIColor *)pColor;

NSDate helper methods

+ (NSDate *) stringToDate :(NSString *)pString;
+ (NSDate*) JSONStringToDate :(NSString*)pJSONdateString;
+ (NSDate *) dateWithoutTime :(NSDate *)pDate;
+ (NSDate *) dateWithLastSecond :(NSDate *)pDate;
- (NSString *) stringValue;
- (int) daysFromDate :(NSDate *)pDate;
- (int) getSecond;
- (int) getMinute;
- (int) getHour;
- (int) getDay;
- (int) getMonth;
- (int) getYear;

Use

Add needed helper classes from Classes folder to your app target.

Add test classes for helpers you are using to your unittests target (should be configured with OCHamcrest) if interested.

Creators

Jurgis Kirsakmens
@xjki

License

Use at your own risk. No need to give credit in your app - no one reads this stuff anyway. The license is otherwise MIT standard.

About

ObjectiveC helper categories and classes for cross-project use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published