I'm seeing some weirdity and am trying to determine - environment or me ... FWIW - I'm working through chapter 12 in Tim Isted's book. I've double & triple checked - still getting weird results -
+1
A:
iOS uses Core Graphics for drawing so instead of NSPoint and NSSize you should be using CGPoint and CGSize. They are actually the same exact thing and when building for 64 bits the two are interchangeable. However the iOS frameworks don't define the NS versions. Basically try solving your problems by using CGPoint and CGSize
Alej
2010-09-27 15:11:46