Skip to content

Commit dcb893d

Browse files
committed
Merge branch 'release-1.6.25'
2 parents 10aba58 + 10f92ec commit dcb893d

23 files changed

+24
-22
lines changed

Core/Source/DTAccessibilityElement.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCompatibility.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import <UIKit/UIKit.h>
1414

Core/Source/DTAccessibilityElement.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTAccessibilityElement.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
static const CGPoint DTAccessibilityElementNullActivationPoint = {CGFLOAT_MAX, CGFLOAT_MAX};
1414

Core/Source/DTAccessibilityViewProxy.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#import "DTCompatibility.h"
1010
#import "DTAccessibilityElement.h"
1111

12-
#if TARGET_OS_IPHONE
12+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1313

1414
#import "DTTextAttachment.h"
1515

Core/Source/DTAccessibilityViewProxy.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTAccessibilityViewProxy.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
@implementation DTAccessibilityViewProxy
1414

Core/Source/DTAttributedLabel.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCompatibility.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import "DTAttributedTextContentView.h"
1414

Core/Source/DTAttributedLabel.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTAttributedLabel.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import "DTCoreTextLayoutFrame.h"
1414
#import <QuartzCore/QuartzCore.h>

Core/Source/DTAttributedTextCell.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCompatibility.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import <UIKit/UIKit.h>
1414

Core/Source/DTAttributedTextCell.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#import "DTAttributedTextCell.h"
1212

13-
#if TARGET_OS_IPHONE
13+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1414

1515
#import "DTCoreText.h"
1616
#import "DTCSSStylesheet.h"

Core/Source/DTAttributedTextContentView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCompatibility.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import "DTCoreTextLayoutFrame.h"
1414
#import <DTFoundation/DTWeakSupport.h>

Core/Source/DTAttributedTextContentView.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTAttributedTextContentView.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import <QuartzCore/QuartzCore.h>
1414

Core/Source/DTAttributedTextView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCompatibility.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import <UIKit/UIKit.h>
1414

Core/Source/DTAttributedTextView.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTAttributedTextView.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import <QuartzCore/QuartzCore.h>
1414

Core/Source/DTCoreTextLayoutFrame.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
#import "DTCompatibility.h"
1010
#import "DTCoreTextConstants.h"
1111

12-
#if TARGET_OS_IPHONE
12+
1313
#import <CoreText/CoreText.h>
14+
15+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1416
#import <UIKit/UIKit.h>
1517
#endif
1618

Core/Source/DTCoreTextLayoutFrame.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ - (void)_setShadowInContext:(CGContextRef)context fromDictionary:(NSDictionary *
11741174

11751175
CGFloat scaleFactor = 1.0;
11761176

1177-
#if TARGET_OS_IPHONE
1177+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
11781178
if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)])
11791179
{
11801180
scaleFactor = [[UIScreen mainScreen] scale];

Core/Source/DTCoreTextLayoutFrameAccessibilityElementGenerator.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCompatibility.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import "DTAccessibilityElement.h"
1414

Core/Source/DTCoreTextLayoutFrameAccessibilityElementGenerator.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCoreTextLayoutFrameAccessibilityElementGenerator.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import "DTCoreTextLayoutFrame.h"
1414
#import "DTCoreTextLayoutLine.h"

Core/Source/DTDictationPlaceholderView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCompatibility.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import <UIKit/UIKit.h>
1414

Core/Source/DTDictationPlaceholderView.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTDictationPlaceholderView.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
// if you change any of these then also make sure to adjust the sizes in DTDictationPlaceholderTextAttachment
1414
#define DOT_WIDTH 10.0f

Core/Source/DTLazyImageView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCompatibility.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import <DTFoundation/DTWeakSupport.h>
1414
#import "DTAttributedTextContentView.h"

Core/Source/DTLazyImageView.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTLazyImageView.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import <ImageIO/ImageIO.h>
1414

Core/Source/DTLinkButton.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTCompatibility.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212
#import <UIKit/UIKit.h>
1313

1414
/**

Core/Source/DTLinkButton.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "DTLinkButton.h"
1010

11-
#if TARGET_OS_IPHONE
11+
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
1212

1313
#import "DTCoreText.h"
1414

0 commit comments

Comments
 (0)