Changed iOS to use NSParagraphStyle.