If an Objective-C API returning an object is mistakenly not annotated as nullable, and returns nil in Swift, is there any way to compare it to nil? Seems like my only option involves UnsafeRawPointer
If an Objective-C API returning an object is mistakenly not annotated as nullable, and returns nil in Swift, is there any way to compare it to nil? Seems like my only option involves UnsafeRawPointer
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.cocoasamurai.social/users/colin/statuses/115936235408533221 on your instance and quote it. (Note that quoting is not supported in Mastodon.)