Screen

public final class Screen : Equatable, CustomDebugStringConvertible

A physical display.

  • Declaration

    Swift

    public var debugDescription: String { get }
  • The frame defining the screen boundaries in global coordinates. -Note: x and y may be negative.

    Declaration

    Swift

    public var frame: CGRect { get }
  • The frame defining the screen boundaries in global coordinates, excluding the menu bar and dock.

    Declaration

    Swift

    public var applicationFrame: CGRect { get }
  • An integer uniquely representing the current space on this screen.

    Declaration

    Swift

    public var spaceId: Int { get }