Files
leanote-ios/Leanote/editor/EditorClasses/WordPress-iOS-Editor-Prefix.pch
2015-08-21 23:49:41 +08:00

24 lines
576 B
Plaintext
Executable File

//
// Prefix header
//
// The contents of this file are implicitly included at the beginning of every source file.
//
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "DDLog.h"
#import "WPEditorLoggingConfiguration.h"
#ifndef IS_IPAD
#define IS_IPAD ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad)
#endif
#ifndef IS_IPHONE
#define IS_IPHONE (!IS_IPAD)
#endif
#ifndef IS_RETINA
#define IS_RETINA ([[UIScreen mainScreen] respondsToSelector:@selector(scale)] && [[UIScreen mainScreen] scale] == 2)
#endif
#endif