A CGFloat is the basic CoreGraphics type for all floating-point values in the Cocoa and Cocoa Touch UI frameworks.
A CGFloat
is the basic CoreGraphics
type for all floating-point values in the Cocoa and Cocoa Touch UI frameworks.
CGFloat
is defined in the CGGeometry Reference of CoreGraphics
, which defines structures for geometric primitives and functions that operate on them. Depending on your platform, a CGFloat
is either 32 or 64 bits.
Use this tag when asking questions on CGFloat
value types themselves, or CoreGraphics
functions which use them.