Contents

NSStringFromRect(_:)

Returns a string representation of a rectangle.

Declaration

func NSStringFromRect(_ aRect: NSRect) -> String

Discussion

Returns a string of the form “{{a, b}, {c, d}}”, where a, b, c, and d are the x and y coordinates and the width and height, respectively, of aRect.

See Also

Managing Rectangles