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

Fixed a deprecation warning where some protocols were inheriting from class instead of AnyObject per Xcode's suggestion #819

Merged
merged 1 commit into from
Mar 8, 2021

Conversation

apps4everyone
Copy link
Contributor

@apps4everyone apps4everyone commented Feb 24, 2021

This is only to remove five compiler warnings.

I was updating my iOS app to be able to run on Xcode 12.5 (beta) and noticed that Apple is now flagging the use of class inherited protocols as deprecated in favor of inheriting from AnyObject. In my iOS app, we flag warnings as errors so now our app won't compile. I wanted to be able to pitch in and help modernize the code so I went ahead and fixed this deprecation here.

After a little bit of research, I came across this forum Swift.org post which seems to point to the discussion where this deprecation discussion started.

@apps4everyone apps4everyone changed the title Removed Compiler warnings Fixed a deprecation warning where some protocols were inheriting from class instead of AnyObject per Xcode's suggestion Feb 24, 2021
@apps4everyone
Copy link
Contributor Author

@andersio would be a 6.5.1 release possible? thx

@andersio andersio merged commit df0e782 into ReactiveCocoa:master Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants