diff --git a/Sources/DFService/utils/Runtime.swift b/Sources/DFService/utils/Runtime.swift deleted file mode 100644 index 079d0b8..0000000 --- a/Sources/DFService/utils/Runtime.swift +++ /dev/null @@ -1,26 +0,0 @@ -import Foundation - -extension DF { - public static let runtime = Runtime() - - public struct Runtime { - } -} -public extension DF.Runtime { - var isPreview: Bool { - return ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1" - } - var isRunningInTests: Bool { - #if canImport(XCTest) - return true - #else - return false - #endif - } -} - -public extension DFApplication { - var runtime: DF.Runtime { - return DF.runtime - } -}