Skip to content

Conversation

@DougGregor
Copy link
Owner

@DougGregor DougGregor commented Oct 15, 2020

Demonstrate the effect of the Swift Concurrency translation on Objective-C APIs.

@DougGregor DougGregor marked this pull request as draft October 15, 2020 20:57
Review over a large number of APIs has found that most of the time, the
result type of an Objective-C completion handler method that becomes
"async throws" should be optional.
When importing a method as `async`, look whether it would overload a
synchronous method. If so, append the `Async` suffix to the base name
to keep it out of the way of the original function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants