Difference between NSPoint, NSSize, NSRect and the CG Versions


Dave
 

Hi,

Is there any real difference between NSPoint, NSRect, NSSize etc. and the CG versions?

I can use the CG Versions on Mac and iOS but the NS versions only on Mac.

If I only used the CG versions it would compile ok for both platforms, but is this wise, or is it best to use NS on Mac?

All the Best
Dave

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.