screenRect(fromView:rect:)
Returns the frame in screen coordinates.
Declaration
static func screenRect(fromView parentView: NSView, rect frame: NSRect) -> NSRectDiscussion
Given a frame in the specified view’s coordinates, it returns the same frame in the screen’s coordinates.