From 2cdab9cc0ee494ed42652117648d02d067852de2 Mon Sep 17 00:00:00 2001 From: Peter Tang Date: Fri, 15 Sep 2023 12:06:58 +0800 Subject: [PATCH] comment lines updated. --- Sources/SwiftMath/MathBundle/MTFontV2.swift | 2 +- Sources/SwiftMath/MathBundle/MathFont.swift | 6 ++---- Sources/SwiftMath/MathBundle/MathImage.swift | 8 ++------ 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/Sources/SwiftMath/MathBundle/MTFontV2.swift b/Sources/SwiftMath/MathBundle/MTFontV2.swift index c09427d..53b7fe3 100644 --- a/Sources/SwiftMath/MathBundle/MTFontV2.swift +++ b/Sources/SwiftMath/MathBundle/MTFontV2.swift @@ -1,5 +1,5 @@ // -// File.swift +// MTFontV2.swift // // // Created by Peter Tang on 15/9/2023. diff --git a/Sources/SwiftMath/MathBundle/MathFont.swift b/Sources/SwiftMath/MathBundle/MathFont.swift index 96be420..5be5d50 100644 --- a/Sources/SwiftMath/MathBundle/MathFont.swift +++ b/Sources/SwiftMath/MathBundle/MathFont.swift @@ -1,5 +1,5 @@ // -// File.swift +// MathFont.swift // // // Created by Peter Tang on 10/9/2023. @@ -7,9 +7,7 @@ #if os(iOS) import UIKit -#endif - -#if os(macOS) +#elseif os(macOS) import AppKit #endif diff --git a/Sources/SwiftMath/MathBundle/MathImage.swift b/Sources/SwiftMath/MathBundle/MathImage.swift index 82501bf..8235a4e 100644 --- a/Sources/SwiftMath/MathBundle/MathImage.swift +++ b/Sources/SwiftMath/MathBundle/MathImage.swift @@ -1,5 +1,5 @@ // -// MTMathImageV2.swift +// MathImage.swift // // // Created by Peter Tang on 15/9/2023. @@ -7,13 +7,9 @@ import Foundation -import Foundation - #if os(iOS) import UIKit -#endif - -#if os(macOS) +#elseif os(macOS) import AppKit #endif