Post #2349328
2026-01-22 13:35 UTC
@colin@mastodon.cocoasamurai.social manually upcast it to an optional:
let foo: Foo? = bar.badlyAnnotatedObjCAPI()
Then deal with normally. I do this somewhat regularly
Replies (0)
No replies.
2026-01-22 13:35 UTC
No replies.