NSMutableAttributedString dodaje różne wyrównania
Czy można dodać lewe i prawe wyrównanie do różnych części ciągu?
Próbowałem dodać atrybut wyrównania do prawej części:
NSMutableParagraphStyle *paragrahStyle = [[NSMutableParagraphStyle alloc] init];
[paragrahStyle setAlignment:NSTextAlignmentRight];
[mutableAttributedString addAttribute:NSParagraphStyleAttributeName value:paragrahStyle range:rangeOfDate];
Ale cały ciąg jest wyrównany do lewej.