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

Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead. #678

Closed
alleyrat opened this issue Jun 9, 2021 · 1 comment

Comments

@alleyrat
Copy link

alleyrat commented Jun 9, 2021

What is the recommended change for the following five Xcode Swift Compiler Warnings?

"Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead."

Affected files are:

  1. Initializable.swift

internal protocol InitializableClass: class {

  1. SideMenuAnimationController.swift

internal protocol SideMenuAnimationControllerDelegate: class {

  1. SideMenuNavigationController.swift

internal protocol SideMenuNavigationControllerTransitionDelegate: class {

  1. SideMenuPresentationController.swift

internal protocol SideMenuPresentationControllerDelegate: class {

  1. SideMenuTransitionController.swift

internal protocol SideMenuTransitionControllerDelegate: class {

MNiemiec-ios added a commit to nzzdev/SideMenu that referenced this issue Jun 18, 2021
@alleyrat
Copy link
Author

Simple fix. Closed.

mehmetbaykar added a commit to mehmetbaykar/SideMenu that referenced this issue Jan 1, 2024
* commit '730e62491c66146f7f053c78af363a30907babaf':
  Fix jonkykong#678
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant