Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Is this Objective-C ?

If yes, the objects are usually declared as a pointer to the object.

For example:

MyTest* test123;

And don't remember to alloc, initialize that object before you send any message to it.

test123 = [[MyTest alloc] init];
 
yes its objective c. and as i stated try it. make a custome object and initialize it correctly. as a pointer. whatever you would normally do. if you use a trailing number in the variable it will fail to compile.

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.