Files
leanote-ios/Pods-bak/Target Support Files/WordPress-iOS-Shared/WordPress-iOS-Shared-prefix.pch
2019-03-26 21:16:33 +08:00

38 lines
843 B
Plaintext

#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
//
// Prefix header
//
// The contents of this file are implicitly included at the beginning of every source file.
//
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#define LOG_LEVEL_DEF WordPressSharedLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
static const DDLogLevel WordPressSharedLogLevel = DDLogLevelWarning;
#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