If I wanted to create a 2x2 array, I would do:
NSArray *theArray = [NSArray arrayWithObjects:
[NSArray arrayWithObjects:@"String1",@"String2",nil],
[NSArray arrayWithObjects:@"String3",@"String4",nil],
nil];
But if I wanted to create it in another way I get an error "Expression is not assignable"
[self theArray] = [NSArray arrayWithObjects:
[NSArray arrayWithObjects:@"String1",@"String2",nil],
[NSArray arrayWithObjects:@"String3",@"String4",nil],
nil];
What would be the correct way to use my [self theArray] in the example above?