@mattiemMatt Massicotte I know you love concurrency questions, so, is there a good way to access UIColors from a background thread? I think that has to be on the main thread, right?

I have some code that picks a random UIColor and gets its hex value that was crashing. I'm guessing that it's because it's sometimes called from a background thread, but it's hard to reproduce.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mstdn.social/users/agarrharr/statuses/116013259900518439 on your instance and quote it. (Note that quoting is not supported in Mastodon.)