Skip to content

Commit 0fa9dce

Browse files
committed
Merge pull request yapstudios#121 from mackross/master
Imports required for dynamic framework.
2 parents ece9c86 + 8f47440 commit 0fa9dce

File tree

6 files changed

+20
-0
lines changed

6 files changed

+20
-0
lines changed

Vendor/CocoaLumberjack/CLI/CLIColor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
#import <Foundation/Foundation.h>
10+
#import <CoreGraphics/CoreGraphics.h>
1011

1112
/**
1213
Simple NSColor replacement for CLI projects that don't link with AppKit

YapDatabase/Extensions/Views/Utilities/YapDatabaseViewChange.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
#import "YapDatabaseViewMappingsPrivate.h"
44
#import "YapDatabaseLogging.h"
55

6+
#if TARGET_OS_IPHONE
7+
#import <UIKit/UIKit.h>
8+
#endif
9+
610
#if ! __has_feature(objc_arc)
711
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
812
#endif

YapDatabase/Extensions/Views/Utilities/YapDatabaseViewMappings.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
#import "YapDatabasePrivate.h"
55
#import "YapDatabaseLogging.h"
66

7+
#if TARGET_OS_IPHONE
8+
#import <UIKit/UIKit.h>
9+
#endif
10+
711
#if ! __has_feature(objc_arc)
812
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
913
#endif

YapDatabase/Extensions/Views/YapDatabaseViewTransaction.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
#import "YapDatabaseString.h"
1212
#import "YapDatabaseLogging.h"
1313

14+
#if TARGET_OS_IPHONE
15+
#import <UIKit/UIKit.h>
16+
#endif
17+
1418
#if ! __has_feature(objc_arc)
1519
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
1620
#endif

YapDatabase/Internal/YapRowidSet.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Wrapper for C++ code (std::unordered_set<int64_t>)
33
**/
44

5+
#import <Foundation/Foundation.h>
6+
57
#ifndef YapDatabase_YapRowidSet_h
68
#define YapDatabase_YapRowidSet_h
79

YapDatabase/YapDatabaseConnection.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#import "YapDatabaseConnection.h"
23
#import "YapDatabaseConnectionState.h"
34
#import "YapDatabasePrivate.h"
@@ -15,6 +16,10 @@
1516
#import <objc/runtime.h>
1617
#import <libkern/OSAtomic.h>
1718

19+
#if TARGET_OS_IPHONE
20+
#import <UIKit/UIKit.h>
21+
#endif
22+
1823
#if ! __has_feature(objc_arc)
1924
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
2025
#endif

0 commit comments

Comments
 (0)