Screenshots field in string catalog

I’m exploring the new Xcode 15 string catalog feature.

I see that for every sentence there is a “screenshots” field in the Xcode inspector (see image). How can we populate this field?

Thank you

Replies

I'm pretty sure that's populated by UI tests which show the string in question and which record a screenshot. This way, you can run your tests in various locale settings and confirm the string doesn't overflow a field and get truncated.