jonkykong/SideMenu

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

alleyrat opened this issue · 1 comments

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 {

Simple fix. Closed.