Skip to content

Instantly share code, notes, and snippets.

View codingrhythm's full-sized avatar
🏠
Working from home

Yuzhou Zhu codingrhythm

🏠
Working from home
View GitHub Profile
@codingrhythm
codingrhythm / NSDate+ISOSupport.h
Created February 11, 2013 01:30
Objective-C class that converts standard ISO date string to NSDate object
//
// NSDate+ISOSupport.h
//
// Created by Zhu Yuzhou on 1/12/13.
//
#import <Foundation/Foundation.h>
@interface NSDate (ISOSupport)
@codingrhythm
codingrhythm / UIColor+HexString.h
Last active February 7, 2019 14:25
Objective-C class to convert hex string to UIColor. Support #RGB # ARGB #RRGGBB #AARRGGBB Usage: [UIColor colorWithHexString:@"#f5e6a1"];
//
// UIColor+HexString.h
// Class to convert hex string to UIColor
// Support #RGB # ARGB #RRGGBB #AARRGGBB
// Usage: [UIColor colorWithHexString:@"#f5e6a1"];
// Created by Zhu Yuzhou on 1/20/13.
//
#import <UIKit/UIKit.h>