Here is the solution to define array in macro
#define Alphabats @[@"A",@"B",@"C",@"D",@"E",@"F",@"G",@"H",@"I",@"J",@"K",@"L",@"M",@"N",@"O",@"P",@"Q",@"R",@"S",@"T",@"U",@"V",@"W",@"X",@"Y",@"Z"]
How to access this array in your code :
NSMutableArray *charArray =[NSMutableArray arrayWithArray:Alphabats];
No comments:
Post a Comment