File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 11import Foundation
22
3- #if os(iOS) || os(watchOS) || os(tvOS)
4- import CoreGraphics
5- #endif
6-
73/// Empty labels class
84public struct EmptyLabels : MetricLabels {
95 /// Creates empty labels
@@ -76,8 +72,6 @@ public extension ConvertibleNumberType {
7672 var floatValue : Float { return Float ( doubleValue) }
7773 /// Number as an Int
7874 var intValue : Int { return lrint ( doubleValue) }
79- /// Number as a CGFloat
80- var CGFloatValue : CGFloat { return CGFloat ( doubleValue) }
8175}
8276
8377/// Double Representable Conformance
@@ -91,8 +85,6 @@ extension FixedWidthInteger {
9185/// Double Representable Conformance
9286extension Double : ConvertibleNumberType { public var doubleValue : Double { return self } }
9387/// Double Representable Conformance
94- extension CGFloat : ConvertibleNumberType { public var doubleValue : Double { return Double ( self ) } }
95- /// Double Representable Conformance
9688extension Float : ConvertibleNumberType { public var doubleValue : Double { return Double ( self ) } }
9789/// Double Representable Conformance
9890extension Int : ConvertibleNumberType { }
You can’t perform that action at this time.
0 commit comments