Skip to content

Instantly share code, notes, and snippets.

@mikezs
mikezs / UIImage+CustomColours.h
Created January 29, 2013 13:30
UIImage+CustomColours.h
@interface UIImage (CustomColours)
+ (UIImage *) imageWithLinearGradientOfSize:(CGSize)size start:(UIColor *)start end:(UIColor *)end;
+ (UIImage *) imageWithSolidColor:(UIColor *)color size:(CGSize)size;
@end
@mikezs
mikezs / UIDeviceHardware.h
Created December 17, 2012 13:09 — forked from Jaybles/UIDeviceHardware.h
Find the Apple model identifier and give a string representation of it
//
// UIDeviceHardware.h
//
// Used to determine EXACT version of device software is running on.
#import <Foundation/Foundation.h>
@interface UIDeviceHardware : NSObject
+ (NSString *) platform;