Inherits from NSObject
Declared in TSUtils.h

Class Methods

colorWithHexString:

+ (UIColor *)colorWithHexString:(NSString *)stringToConvert

drawInnerShadowRectInContext:rect:shadowColor:blurSize:

+ (void)drawInnerShadowRectInContext:(CGContextRef)context rect:(CGRect)rect shadowColor:(CGColorRef)shadowColor blurSize:(CGFloat)blurSize

drawLineInContext:startPoint:endPoint:color:lineWidth:

+ (void)drawLineInContext:(CGContextRef)context startPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint color:(CGColorRef)color lineWidth:(CGFloat)lineWidth

drawLinearGradientInContext:rect:startColor:endColor:

+ (void)drawLinearGradientInContext:(CGContextRef)context rect:(CGRect)rect startColor:(CGColorRef)startColor endColor:(CGColorRef)endColor

drawPolygonInContext:points:fillColor:strokeColor:strokeSize:

+ (void)drawPolygonInContext:(CGContextRef)context points:(NSArray *)points fillColor:(CGColorRef)fillColor strokeColor:(CGColorRef)strokeColor strokeSize:(CGFloat)strokeSize

imageWithColor:andSize:

+ (UIImage *)imageWithColor:(UIColor *)color andSize:(CGSize)size

imageWithInnerShadow:blurSize:andSize:

+ (UIImage *)imageWithInnerShadow:(CGColorRef)shadowColor blurSize:(CGFloat)blurSize andSize:(CGSize)size

performViewAnimationBlock:withCompletion:animated:

+ (void)performViewAnimationBlock:(void ( ^ ) ( void ))block withCompletion:(void ( ^ ) ( void ))completion animated:(BOOL)animated