Function

NSSizeFromCGSize

Returns an NSSize typecast from a CGSize.

Declaration

NSSize NSSizeFromCGSize(CGSize cgsize);

Return Value

An NSSize typecast from a CGSize.

See Also

Managing Sizes

NSEqualSizes

Returns a Boolean that indicates whether two size values are equal.

NSMakeSize

Returns a new NSSize from the specified values.

NSSizeFromString

Returns an NSSize from a text-based representation.

NSStringFromSize

Returns a string representation of a size.

NSSizeToCGSize

Returns a CGSize typecast from an NSSize.