NSSize
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
@autoreleasepool {
// insert code here...
NSSize s=NSMakeSize(10, 15);//NSSize其实就是CGSize
//这种方式比较常见
CGSize s2=CGSizeMake(10, 15);
NSLog(@"%@",NSStringFromSize(s2));
}
return 0;
}