Design Element
Comment on "Cocoa Graphics Frameworks"
by Qwerty Denzel — Sep 22
On the page for the Quartz2DBasics, the document revision history mentions:
Now avoids use of floats where unnecessary. Where floating point constants are necessary avoids explicit use (now uses 10.0 instead of 10.0f). These changes make the code more readable while preserving efficiency and make the code ready for conversion to 64 bit.

I've mostly used the form without the suffix, simply because I did find it more readable, but is this something official that I need the adhere to?

It also says the change makes ready for conversion to 64 bit. What difference does it make?
Back to "Cocoa Graphics Frameworks"
Design Element

Copyright © Scott Stevenson 2004-2015