I am trying to use extern variables.
It complains that because of using numberWithInt I am not passing a contants as the value of my variable
So I removed the const and it's complaining that an extern variable must be a constant, so what is the solutions here?
I DO NOT WANT TO USE INT
.h
extern NSNumber const *MoveID;
.m
NSNumber const *MoveID = [NSNumber numberWithInt:1];
MoveID
isn't gonna be set until something somewhere touches theMYGreatClass
class. You could use a+load
method if that is a problem. – Amendatory