Invalid operands to binary expression (‘double’ and ‘double’) objective-c issue
-(double)performOperationWith:(double *)operand1
And:(double *)operand2 {
double result = 0.0;
result = operand1 + operand2;
return result;
}
They’re pointers, so you should dereference them:
Or change the function parameters: