I have NSMutableArray *myArray = nil;. If I will use [myArray insertObject:@"Hello" atIndex:0] method to this array, will it be allocated automatically?
I have NSMutableArray *myArray = nil; . If I will use [myArray insertObject:@Hello atIndex:0]
Share
No. It will just send the message to nil.
It would be equivalent to;