ProcessInfo

class ProcessInfo : NSObject
  • Mechanica*

    Returns true if SwiftPackage tests are running.

    Declaration

    Swift

    public static var isRunningSwiftPackageTests: Bool { get }
  • Mechanica*

    Returns true if Xcode or SwiftPackage Unit Tests are running.

    Declaration

    Swift

    public static var isRunningUnitTests: Bool { get }
  • Mechanica*

    Returns true if Xcode Unit Tests are running.

    Declaration

    Swift

    public static var isRunningXcodeUnitTests: Bool { get }
  • Mechanica

    Declaration

    Swift

    public static var systemStartingDate: Date { get }

    Return Value

    Returns the system (re)starting date.

  • Mechanica*

    Returns true if the app is sandboxed.