I want to create a Class object in this way: Class c = [Class classNamed:[NSString stringWithFormat:@"%sview", [_shapeClass name]]];
My problem is this error message: "error: expected expression before Class ". What do you think? What s the problem? Thank you for replys.
Edit: I want to do this in a switch case.