If we initialize class property, created using
in the body of function
in this way
where will be a mistake in this code. What consequences in working program it will have and in what time moment, in what function will it happen?
Code:
@property (nonatomic, retain) NSArray *prop
Code:
(void)init
Code:
prop = [NSArray arrayWithObjects:@"1", @"2", nil]