---
title: "NSStringFromSize(_:)"
framework: foundation
role: symbol
role_heading: Function
path: "foundation/nsstringfromsize(_:)"
---

# NSStringFromSize(_:)

Returns a string representation of a size.

## Declaration

```swift
func NSStringFromSize(_ aSize: NSSize) -> String
```

## Return Value

Return Value A string of the form “{a, b}”, where a and b are the width and height, respectively, of aSize.

## See Also

### Managing Sizes

- [NSEqualSizes(_:_:)](foundation/nsequalsizes(_:_:).md)
- [NSMakeSize(_:_:)](foundation/nsmakesize(_:_:).md)
- [NSSizeFromString(_:)](foundation/nssizefromstring(_:).md)
- [NSSizeFromCGSize(_:)](foundation/nssizefromcgsize(_:).md)
- [NSSizeToCGSize(_:)](foundation/nssizetocgsize(_:).md)
