Why Nostr? What is Njump?
2024-05-04 17:59:08

Brent Simmons on Nostr: Here’s a Swift strict concurrency issue I haven’t figured out how to solve: when ...

Here’s a Swift strict concurrency issue I haven’t figured out how to solve: when I set UIView.accessibilityTraits to .button, .link, etc. I get a warning “Reference to static property 'button' is not concurrency-safe because it involves shared mutable state;…”

How do I fix this? Or at least silence it?

(Screenshot shows code with that warning.)

Author Public Key
npub1t9zu5u4ydpgql0cqp9qh4zvc4ruqrdzcd8kejktharvk6vaxjvasqc0pps