I'm not sure what I am doing wrong here, I am following a tutorial online(thenewboston) and I am getting an error that says "w used as the name of the previous parameter rather than as part of the selector."
-(void)setWH: (int) w:(int) height;
I'm not sure what I am doing wrong here, I am following a tutorial online(thenewboston) and I am getting an error that says "w used as the name of the previous parameter rather than as part of the selector."
-(void)setWH: (int) w:(int) height;
You're missing part of the selector name:
- (void)setWidth:(int)width height:(int)height;
// ^--- You're missing this.