Skip to content

Commit

Permalink
Merge branch 'release-1.6.25'
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Oct 9, 2020
2 parents 10aba58 + 10f92ec commit dcb893d
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Core/Source/DTAccessibilityElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCompatibility.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import <UIKit/UIKit.h>

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAccessibilityElement.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTAccessibilityElement.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

static const CGPoint DTAccessibilityElementNullActivationPoint = {CGFLOAT_MAX, CGFLOAT_MAX};

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAccessibilityViewProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import "DTCompatibility.h"
#import "DTAccessibilityElement.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import "DTTextAttachment.h"

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAccessibilityViewProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTAccessibilityViewProxy.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

@implementation DTAccessibilityViewProxy

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAttributedLabel.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCompatibility.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import "DTAttributedTextContentView.h"

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAttributedLabel.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTAttributedLabel.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import "DTCoreTextLayoutFrame.h"
#import <QuartzCore/QuartzCore.h>
Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAttributedTextCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCompatibility.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import <UIKit/UIKit.h>

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAttributedTextCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#import "DTAttributedTextCell.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import "DTCoreText.h"
#import "DTCSSStylesheet.h"
Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAttributedTextContentView.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCompatibility.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import "DTCoreTextLayoutFrame.h"
#import <DTFoundation/DTWeakSupport.h>
Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAttributedTextContentView.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTAttributedTextContentView.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import <QuartzCore/QuartzCore.h>

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAttributedTextView.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCompatibility.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import <UIKit/UIKit.h>

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTAttributedTextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTAttributedTextView.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import <QuartzCore/QuartzCore.h>

Expand Down
4 changes: 3 additions & 1 deletion Core/Source/DTCoreTextLayoutFrame.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
#import "DTCompatibility.h"
#import "DTCoreTextConstants.h"

#if TARGET_OS_IPHONE

#import <CoreText/CoreText.h>

#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
#import <UIKit/UIKit.h>
#endif

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTCoreTextLayoutFrame.m
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ - (void)_setShadowInContext:(CGContextRef)context fromDictionary:(NSDictionary *

CGFloat scaleFactor = 1.0;

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)])
{
scaleFactor = [[UIScreen mainScreen] scale];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCompatibility.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import "DTAccessibilityElement.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCoreTextLayoutFrameAccessibilityElementGenerator.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import "DTCoreTextLayoutFrame.h"
#import "DTCoreTextLayoutLine.h"
Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTDictationPlaceholderView.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCompatibility.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import <UIKit/UIKit.h>

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTDictationPlaceholderView.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTDictationPlaceholderView.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

// if you change any of these then also make sure to adjust the sizes in DTDictationPlaceholderTextAttachment
#define DOT_WIDTH 10.0f
Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTLazyImageView.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCompatibility.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import <DTFoundation/DTWeakSupport.h>
#import "DTAttributedTextContentView.h"
Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTLazyImageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTLazyImageView.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import <ImageIO/ImageIO.h>

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTLinkButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTCompatibility.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH
#import <UIKit/UIKit.h>

/**
Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTLinkButton.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DTLinkButton.h"

#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_WATCH

#import "DTCoreText.h"

Expand Down

0 comments on commit dcb893d

Please sign in to comment.