Still a little confused by this underscore in the synthesize directive. I see it in Apple’s examples a lot, so I added it to my Person.m file
@synthesize personName = _personName;
@synthesize expectedRaise = _expectedRaise;
The project was working fine until this chapter where the encoders were not able to write out the values. Once I removed the underscores from both @synthesize directives the coders worked and the values were written out to the document file.
I thought the underscores were the getter and setter for the variable. Should we avoid them when doing KVC?