NSIntersectsRect(_:_:)
Returns a Boolean value that indicates whether two rectangles intersect.
Declaration
func NSIntersectsRect(_ aRect: NSRect, _ bRect: NSRect) -> BoolReturn Value
true if aRect intersects bRect, otherwise false. Returns false if either aRect or bRect has a width or height that is 0.