Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4554f2c65a
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (22 sloc) 0.588 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
//
// UIDevice+SSToolkitAdditions.h
// SSToolkit
//
// Created by Sam Soffes on 7/13/09.
// Copyright 2009-2011 Sam Soffes. All rights reserved.
//

/**
Provides extensions to `UIDevice` for various common tasks.
*/
@interface UIDevice (SSToolkitAdditions)

/**
Returns `YES` if the device is a simulator.
@return `YES` if the device is a simulator and `NO` if it is not.
*/
- (BOOL)isSimulator;

/**
Returns `YES` if the device is an iPod touch, iPhone, iPhone 3G, or an iPhone 3GS.
@return `YES` if the device is crappy and `NO` if it is not.
*/
- (BOOL)isCrappy;

@end
Something went wrong with that request. Please try again.