NSScreen

class NSScreen : NSObject
  • Returns the center point of the screen.

    Declaration

    Swift

    public var visibleFrameCenter: NSPoint { get }
  • Returns the Quadrant the point is located in.

    Declaration

    Swift

    public func quadrant(of point: NSPoint) -> Quadrant

    Parameters

    point

    A point specifying a location in the coordinate system of the screen.