Points

These functions are used to create and manipulate NSPoint structures.

NSEqualPoints

BOOL NSEqualPoints(NSPoint aPoint, NSPoint bPoint)

NSMakePoint

NSPoint NSMakePoint(float x, float y)

NSPointFromString

NSPoint NSPointFromString(NSString *aString)

NSStringFromPoint

NSString *NSStringFromPoint(NSPoint aPoint)

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.