FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
UIDevice category extension collections. More...
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 } |
UIDevice category extension collections.
#define UIADeviceTypeIsIPhoneOrIPod | ( | deviceType | ) | ((deviceType & UIADeviceTypeIsIPhoneOrIPodMask)>>1) |
#define UIADeviceTypeIsIPhoneOrIPodMask 2 |
enum UIADeviceType |
Enumerator | |
---|---|
UIADeviceTypeUnknown | |
UIADeviceTypePad | |
UIADeviceTypePhone | |
UIADeviceTypePod |