forked from theos/theos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Prefix.pch
30 lines (28 loc) · 957 Bytes
/
Prefix.pch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// The contents of this prefix header are deprecated. Do not rely on any of the implicit
// functionality provided by Prefix.pch, such as automatic import of UIKit, HBLog macro,
// and other iOS-specific convenience macros. Rather, import things you need explicitly.
//
// For example:
// #import <HBLog.h>
// #import <theos/BackwardsCompat.h>
//
// This header will no longer have any effect when used with the iOS 14 or newer SDK. It
// has already been removed for other platforms, such as macOS and tvOS, and is not used
// at all for Swift files.
#ifdef DEBUG
#define __DEBUG__
#endif
#if !defined(__IPHONE_14_0) && !defined(THEOS_LEAN_AND_MEAN)
#ifdef __OBJC__
#if __has_include(<TargetConditionals.h>)
#import <TargetConditionals.h>
#endif
#if TARGET_OS_IPHONE
#import <theos/BackwardsCompat.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <theos/IOSMacros.h>
#import <HBLog.h>
#endif
#endif
#endif