AttributedString
Tips tagged AttributedString.
Automatic plurals with inflect: true
Text("^[\(count) item](inflect: true)") picks "1 item" or "2 items" for you, with no if statements and no plural rules of your own.
Tips tagged AttributedString.
Text("^[\(count) item](inflect: true)") picks "1 item" or "2 items" for you, with no if statements and no plural rules of your own.