i need help with this.
-(IBAction) equalsPressed:(id)sender{
if(((IBAction) dividePressed) = YES){
int equals = labelsNumber.text.intValue;
labelsNumber.text = @"";
int ans = divide / equals;
NSString *answer = [NSString stringWithFormat:@"%d", ans];
labelsNumber.text = answer;
i am building a calculator and the error is "Expected Expression."
Please Help