Skip to content

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

Closed

Description

@alleyrat

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 {

Activity

  1. added a commit that references this issue on Jun 18, 2021
    730e624
  2. alleyrat commented on Jun 24, 2021

    @alleyrat
    Author

    Simple fix. Closed.

  3. added a commit that references this issue on Jan 1, 2024
    0d9b3af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions