I have defined a constant in my some file and added in file where i wanna use it as shown below.
#define myMapID 1
But the problem is when i passed the value to a method as a parameter, the compiler gives warning, and yes it must do but how can i avoid warnings ?
-(void) methodName :(int) mapId
{
//printID
}
[self methodName :myMapID];
Odd that it would give you a warning on that. try:
maybe?