Slide 28
Slide 28 text
Using
proper&es
inside
class
methods
- (NSString *)caption!
{!
return [NSString stringWithFormat:@"FuFu %@", caption];!
}!
!
- (void)printCaption!
{!
self.caption = @"PicLyf";!
!
NSLog(@"%@", self.caption);!
// Above will print "FuFu PicLyf"!
!
NSLog(@"%@", caption);!
// Above will print "PicLyf";!
}