4
4
//
5
5
// Created by Kostub Deshmukh on 8/27/13.
6
6
// Copyright (C) 2013 MathChat
7
- //
7
+ //
8
8
// This software may be modified and distributed under the terms of the
9
9
// MIT license. See the LICENSE file for details.
10
10
//
11
11
12
12
@import Foundation;
13
13
@import QuartzCore;
14
- @import UIKit;
14
+
15
+ // This header file is imported by Foudation.
16
+ // #include <TargetConditionals.h>
17
+
18
+ #import " MTConfig.h"
15
19
16
20
#import " MTFont.h"
17
21
#import " MTMathList.h"
@@ -27,7 +31,9 @@ NS_ASSUME_NONNULL_BEGIN
27
31
- (CGRect ) displayBounds ;
28
32
29
33
// / For debugging. Shows the object in quick look in Xcode.
34
+ #if TARGET_OS_IPHONE
30
35
- (id ) debugQuickLookObject ;
36
+ #endif
31
37
32
38
// / The distance from the axis to the top of the display
33
39
@property (nonatomic , readonly ) CGFloat ascent;
@@ -42,7 +48,7 @@ NS_ASSUME_NONNULL_BEGIN
42
48
// / Whether the display has a subscript/superscript following it.
43
49
@property (nonatomic , readonly ) BOOL hasScript;
44
50
// / The text color for this display
45
- @property (nonatomic , nullable ) UIColor* textColor;
51
+ @property (nonatomic , nullable ) MTColor * textColor;
46
52
47
53
@end
48
54
@@ -97,7 +103,7 @@ typedef NS_ENUM(unsigned int, MTLinePosition) {
97
103
98
104
- (instancetype )init NS_UNAVAILABLE;
99
105
100
- /* * A display representing the numerator of the fraction. It's position is relative
106
+ /* * A display representing the numerator of the fraction. It's position is relative
101
107
to the parent and is not treated as a sub-display.
102
108
*/
103
109
@property (nonatomic , readonly ) MTMathListDisplay* numerator;
0 commit comments