I'm reading a code example on Github and I see something I would to understand how it works.
the code is something like:
- (void)viewDidLoad
{
[super viewDidLoad];
{
self.formatter = [[NSDateFormatter alloc] init];
[self.formatter setDateFormat:[NSDateFormatter dateFormatFromTemplate:@"yyyyMMMd" options:0 locale:[NSLocale currentLocale]]];
}
}
what does it mean? is it something related to the async execution of code portion? does anybody enlighten me?