title: Date and time formatting in iOS
body: <p>I know the NSDateFormatter but I want it like "Yesterday 12:35" and I only got it you concatting two datestring?</p>
  
  <pre><code>[dateFormatter setTimeStyle:NSDateFormatterNoStyle];
  [dateFormatter setDateStyle:NSDateFormatterShortStyle];
  [dateFormatter setLocale: [NSLocale autoupdatingCurrentLocale]];
  
  [dateFormatter setDoesRelativeDateFormatting:YES];
  
  [dateFormatterTime setLocale:[NSLocale systemLocale]];
  [dateFormatterTime setDateFormat:@"HH:mm"];
  
  NSString *dateString = [NSString stringWithFormat:@"%@ %@", [dateFormatter stringFromDate:dateParsed], [dateFormatterTime stringFromDate:dateParsed ] ];
  </code></pre>
  
  <p>Any ideas?</p>