Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

刚看了swift5.4更新,await以后会变成关键字? #108

Open
JinjunHan opened this issue Apr 27, 2021 · 5 comments
Open

刚看了swift5.4更新,await以后会变成关键字? #108

JinjunHan opened this issue Apr 27, 2021 · 5 comments

Comments

@JinjunHan
Copy link

To prepare the way for a new concurrency model, the compiler now emits a warning and fix-it for unqualified uses of await as an identifier. Those identifers will be interpreted as the keyword await in a future version of Swift as part of SE-0296.

@JinjunHan
Copy link
Author

@lbininhbl
Copy link

对,编译器也提醒了。

@NianJi
Copy link
Collaborator

NianJi commented Apr 29, 2021

swift 5.5 会官方支持 coroutine.

@JinjunHan
Copy link
Author

swift 5.5 会官方支持 coroutine.

那下一版更新swift5.5,又得大改动了,要删掉coswift的代码,改成官方的async await

@JinjunHan
Copy link
Author

尝试了一下swift5.5的async await,好像只能在iOS15才能用,那感觉就很鸡肋了,所以coswift还是有用处的

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

No branches or pull requests

3 participants