boyfarrell
Registered
Hi everybody,
Compiler spits out two lines (i) saying " ChemicalPotential.m:1: error: parse error before 'ChemicalPotential' " (where ChemicalPotential is the name of my class). And (ii) ChemicalPotential.m:1: fatal error: method definition not in @implementation context .
I managed to solve the problem by changing the one of the methods arguments datatype to id. Any ideas why that fixed it?
I've not posted my code up because it's a very big class. Just wondering if any of the above sounds familiar?
Daniel
Compiler spits out two lines (i) saying " ChemicalPotential.m:1: error: parse error before 'ChemicalPotential' " (where ChemicalPotential is the name of my class). And (ii) ChemicalPotential.m:1: fatal error: method definition not in @implementation context .
I managed to solve the problem by changing the one of the methods arguments datatype to id. Any ideas why that fixed it?
I've not posted my code up because it's a very big class. Just wondering if any of the above sounds familiar?
Daniel