On assignment 2 of the Stanford CS193P course it states that I must add a runProgram class method with the following signature:
+ (double)runProgram:(id)program
usingVariableValues:(NSDictionary *)variableValues;
However I do not recognise or know how to use this syntax as up until now methods have been written more simply:
+ (double)performOperation:(NSString *)operation
Could someone explain this signature? Should the method be written on one line? How do I get/set my dictionary?
Sorry for the basic questions but I am a complete beginner!