3

We're trying to make a typing indicator that displays one or two names depending on how many people are typing at a time. So the use cases are:

  • Person1 is typing
  • Person1 and Person2 are typing
  • Several people are typing

I know it's possible to pass an array of strings mapped to [CVarArgType] as the arguments for String(format:, arguments:), but am wondering if/how it's possible to handle that array logic in the Localizable.stringsdict file to achieve the result described above. Maybe with something similar to this?

stringsdict_implementation

Do I need to know the exact count of the array arguments for something like this to work?

rhpekarek
  • 167
  • 9

0 Answers0