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

Fix deprecated 'class' keyword #157

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Fix deprecated 'class' keyword #157

merged 1 commit into from
Dec 2, 2021

Conversation

yutailang0119
Copy link
Contributor

@yutailang0119 yutailang0119 commented Oct 25, 2021

This project is warning as Swift Compiler Warning.
https://github.com/apple/swift-evolution/blob/master/proposals/0156-subclass-existentials.md#class-and-anyobject

Using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
Replace 'class' with 'AnyObject'

Environment

  • Xcode 13.0 (13A233)

@bryanjclark
Copy link
Owner

Thanks very much!

@bryanjclark bryanjclark merged commit 7c06030 into bryanjclark:master Dec 2, 2021
@yutailang0119 yutailang0119 deleted the fix/class-keyword-warning branch December 9, 2021 09:23
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