Yes, I could replace CGFloat with Double or Float. But what about CGPoint, CGRect and CGSize? Actually there are a lot of Linux code still use them widely. @scanon
Here is a related post I create years ago CGPoint and CGRect related proposal
And we currently do not have such type in Standard library or Foundation yet. (We do have them in CoreFoundation now on Darwin platform)