9
Jak uniknąć znaków z formatu NSDateFormatter
?Escape NSDateFormatter String
NSDate *currentDate = [NSDate date];
NSDateFormatter *dateFormater = [[NSDateFormatter alloc] init];
[dateFormater setDateFormat:@"dd/MM/yyyy \\a\\t HH:mm"];
NSString *dateFormated = [dateFormater stringFromDate:currentDate];
NSLog(@"%@", dateFormated);
zakładek [data formatujących] (https://developer.apple. com/library/ios/# documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html) strona w dokumentach, a także [specyfikacja formatu daty IEEE] (http://www.unicode.org/reports/tr35/ tr35-25.html # Date_Format_Pattern s). Każdy, kto pracuje z 'NSDateFormatter' powinien przeczytać te strony. – rmaddy