Hey guys, I had a question... I'm reading Cocoa Programming for Mac OSX and in Chapter 8 part 1, where he is writing the MyDocument.m file
What does the line
employees a;
do?
employees = [[NSMutableArray alloc] init];
is above, which means that employees is a mutable array, but I'm not sure what
employees a;
does.
I'm just taking a guess, but it looks like the code is checking to see if the argument a is already equal to the contents of employees. If it is, quit out of the function, else it will deallocate employees and set employees equal to a?
Thanks for the help in advance!