#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
@autoreleasepool {
// insert code here...
NSPoint p=NSMakePoint(10, 15);
//NSPoint其实就CGPoint
//这种方式比较常见
NSPoint p2=CGPointMake(10, 15);
NSLog(@"%@",NSStringFromPoint(p));
NSLog(@"%@",NSStringFromPoint(p2));
}
return 0;
}