FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
UIDevice.h File Reference

UIDevice category extension collections. More...

#import <UIKit/UIKit.h>
#import <FoundationExtension/NSAVersion.h>

Go to the source code of this file.

Classes

category  UIDevice(Shortcuts)
 UIDevice shortcuts. More...
 
category  UIDevice(MACAddress)
 UIDevice MAC address extension, useful to make unique identifier. More...
 

Macros

#define UIADeviceTypeIsIPhoneOrIPodMask   2
 
#define UIADeviceTypeIsIPhoneOrIPod(deviceType)   ((deviceType & UIADeviceTypeIsIPhoneOrIPodMask)>>1)
 

Enumerations

enum  UIADeviceType { UIADeviceTypeUnknown = 0, UIADeviceTypePad = 1, UIADeviceTypePhone = 2, UIADeviceTypePod = 3 }
 

Detailed Description

UIDevice category extension collections.

Macro Definition Documentation

#define UIADeviceTypeIsIPhoneOrIPod (   deviceType)    ((deviceType & UIADeviceTypeIsIPhoneOrIPodMask)>>1)
Deprecated:
Use UIUserInterfaceIdiom
#define UIADeviceTypeIsIPhoneOrIPodMask   2
Deprecated:
Use UIUserInterfaceIdiom

Enumeration Type Documentation

Deprecated:
Use UIUserInterfaceIdiom
Enumerator
UIADeviceTypeUnknown 
UIADeviceTypePad 
UIADeviceTypePhone 
UIADeviceTypePod