File tree 1 file changed +0
-8
lines changed 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 1
1
import Foundation
2
2
3
- #if os(iOS) || os(watchOS) || os(tvOS)
4
- import CoreGraphics
5
- #endif
6
-
7
3
/// Empty labels class
8
4
public struct EmptyLabels : MetricLabels {
9
5
/// Creates empty labels
@@ -76,8 +72,6 @@ public extension ConvertibleNumberType {
76
72
var floatValue : Float { return Float ( doubleValue) }
77
73
/// Number as an Int
78
74
var intValue : Int { return lrint ( doubleValue) }
79
- /// Number as a CGFloat
80
- var CGFloatValue : CGFloat { return CGFloat ( doubleValue) }
81
75
}
82
76
83
77
/// Double Representable Conformance
@@ -91,8 +85,6 @@ extension FixedWidthInteger {
91
85
/// Double Representable Conformance
92
86
extension Double : ConvertibleNumberType { public var doubleValue : Double { return self } }
93
87
/// Double Representable Conformance
94
- extension CGFloat : ConvertibleNumberType { public var doubleValue : Double { return Double ( self ) } }
95
- /// Double Representable Conformance
96
88
extension Float : ConvertibleNumberType { public var doubleValue : Double { return Double ( self ) } }
97
89
/// Double Representable Conformance
98
90
extension Int : ConvertibleNumberType { }
You can’t perform that action at this time.
0 commit comments