2
// NSObject_DeviceDetection.h
5
// Created by döme on 12.04.2010.
6
// Copyright 2010 __MyCompanyName__. All rights reserved.
9
#import <Foundation/Foundation.h>
11
#import <Foundation/Foundation.h>
12
#import <UIKit/UIKit.h>
14
#ifndef UI_USER_INTERFACE_IDIOM()
15
#define UIUserInterfaceIdiomPhone 1
16
#define UIUserInterfaceIdiomPad 0
18
#define UI_USER_INTERFACE_IDIOM() ([[UIDevice currentDevice] respondsToSelector:@selector(userInterfaceIdiom)] ? [[UIDevice currentDevice] userInterfaceIdiom] : UIUserInterfaceIdiomPhone)
21
@interface NSObject (DeviceDetection)