Separate names with a comma.
Discussion in 'Mac Programming' started by Acorn, Feb 9, 2010.
im a jackass that cant type nm;
Is this Objective-C ?
If yes, the objects are usually declared as a pointer to the object.
And don't remember to alloc, initialize that object before you send any message to it.
test123 = [[MyTest alloc] init];
Well, I seem to have no problem whatsoever when I create a pointer to a custom object with trailing numbers in the variable name.
What is the compilation error ?
grrr now i cant repeat it. ive moved on in the book. before it had said the error was a missing ) before a constant. i removed the trailing number in the variable and it went away. i put it back and got the same error. took it away and it went away. next time I will check until im blue in the face.