A two-dimensional size.
- macOS 10.0+
- Mac Catalyst 13.0+Beta
Normally, the values of
height are non-negative. The functions that create an
NSSize structure do not prevent you from setting a negative value for these attributes. If the value of
height is negative, however, the behavior of some methods may be undefined.
Prior to OS X v10.5 the width and height were represented by
float values rather than
When building for 64 bit systems, or building 32 bit like 64 bit,
NSSize is typedef’d to