我收到此错误“没有设置方法'setOrgin:'用于分配给属性”
Rectangle *r =[[Rectangle alloc]init];
XYpoint *p =[[XYpoint alloc]init];
[p setXY : 100 : 300];
[r setWH: 6 : 8];
r.orgin =p;
NSLog(@"Width and height is %i and %i", r.width, r.height);
NSLog(@"Origin is at %i and %i", r.orgin.x, r.orgin.y);
NSLog(@"Area and Peri are %i and %i", [r area], [r perimeter]);
请在这件事上给予我帮助