NSPoint

Crowd-sourced documentation and tutorials by the Cocoa developer community
Jump to: navigation, search

Foundation's NSPoint structure, defined in NSGeometry.h

typedef struct {

   CGFloat x;
   CGFloat y;

} NSPoint;

See NSPointFunctions for useful NSPoint stuff.

There is a pre-defined constant, NSZeroPoint, which is what you'd expect it to be.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox