xcode - defining integer variables
- by Mike
If I have
#define myVariable 10
and later I use this as in
[self doSomething:myVariable];
Supposing doSomethign method is like
- (void) doSomething:(int)myNumber;
I receive a warning telling me that a "]" is expected before the ";"
why is that and how to solve this?
thanks for any help.