Skip to content

Instantly share code, notes, and snippets.

View Ricardo1980's full-sized avatar

Ricardo Ruiz Lopez Ricardo1980

View GitHub Profile
//
// NSString+Distance.h
//
// Created by Alexander Johansson on 2011-11-27.
// Based on http://stackoverflow.com/q/5684973/590396
//
#import <Foundation/Foundation.h>
@interface NSString (Distance)
@Ricardo1980
Ricardo1980 / UIDeviceHardware.h
Created June 22, 2012 14:58 — forked from Jaybles/UIDeviceHardware.h
UIDeviceHardware - Determine iOS device being used
//
// UIDeviceHardware.h
//
// Used to determine EXACT version of device software is running on.
#import <Foundation/Foundation.h>
@interface UIDeviceHardware : NSObject
+ (NSString *) platform;
+ (NSString *) platformString;