diff --git a/Sources/TokamakCore/PreviewProvider.swift b/Sources/TokamakCore/PreviewProvider.swift index cfaf98450..171b4bb41 100644 --- a/Sources/TokamakCore/PreviewProvider.swift +++ b/Sources/TokamakCore/PreviewProvider.swift @@ -13,7 +13,6 @@ // limitations under the License. import Foundation -import CoreFoundation /// This protocol has no functionality currently, and is only provided for compatibility purposes. public protocol PreviewProvider { diff --git a/Sources/TokamakCore/Stubs/CGStubs.swift b/Sources/TokamakCore/Stubs/CGStubs.swift index a62edf452..e303a54c2 100644 --- a/Sources/TokamakCore/Stubs/CGStubs.swift +++ b/Sources/TokamakCore/Stubs/CGStubs.swift @@ -16,6 +16,7 @@ // import Foundation +import CoreFoundation extension CGPoint { func rotate(_ angle: Angle, around origin: Self) -> Self {