I have a configuration .h
file , which i get access to, from another classes by import it to them .
In that .h
class , i have that :
static NSString *const charIdList[] =
{
@"1", @"2",@"3",@"4",@"5",@"6",@"7",@"8",@"9",@"AA",@"BB",@"CC",@"DD",@"EE",@"FF",@"GG",@"HH",@"II",@"J",@"K"
};
Which i use in other classes during the program run.
Should i use the static variable here ? or using only a string will be safe ?
What is the scope of the NSString
in that case-if it will not be static
?