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

DispatchConcurrentQueue 可用性 Xcode 15 标注错误 #4870

Closed
ChengzhiHuang opened this issue Jan 24, 2025 · 4 comments
Closed

DispatchConcurrentQueue 可用性 Xcode 15 标注错误 #4870

ChengzhiHuang opened this issue Jan 24, 2025 · 4 comments
Assignees

Comments

@ChengzhiHuang
Copy link
Collaborator

in Xcode 15
Image

in Xcode 16
Image

DispatchConcurrentQueue 实际要在 iOS 17 才开始能够使用,但是 Xcode 15 标注错误,导致能通过编译检察,需要注意下。

@ChengzhiHuang
Copy link
Collaborator Author

否则 runtime 会 crash

@ZengyiMa
Copy link
Contributor

@ChengzhiHuang 这个看着有点特殊,放哪一部分好点呢?

@skytoup
Copy link

skytoup commented Feb 24, 2025

@ChengzhiHuang
Copy link
Collaborator Author

官方网页文档还是iOS 12

Image https://developer.apple.com/documentation/dispatch/dispatchconcurrentqueue

这也是特意贴了个 issue 的原因🤣

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