Function

NSStringFromPoint

Returns a string representation of a point.

Declaration

NSString * NSStringFromPoint(NSPoint aPoint);

Parameters

aPoint

A point structure.

Return Value

A string of the form “{a

, b}”, where a and b are the x and y coordinates of aPoint.

See Also

Managing Points

NSEqualPoints

Returns a Boolean value that indicates whether two points are equal.

NSMakePoint

Creates a new NSPoint from the specified values.

NSPointFromString

Returns a point from a text-based representation.

NSPointFromCGPoint

Returns an NSPoint typecast from a CGPoint.

NSPointToCGPoint

Returns a CGPoint typecast from an NSPoint.