In the objective c book i read the author always use property objects in the implementation like:
(I know we dont use synthesize anymore, unless we overriding the setter AND getter, but just for the example)
@synthesize suit, rank;
and in the stanford course if he need to use @synthesize he do:
@synthesize suit = _suit;
@synthesize rank = _rank;
and its getting me confused a bit. Is the _rank
is to set the object to some value while the rank
is to get it?
if yes, so the line: @synthesize rank = _rank;
confuses me a bit...
would love to get some direction. tnx