Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead.
alleyrat opened this issue · 1 comments
alleyrat commented
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:
- Initializable.swift
internal protocol InitializableClass: class {
- SideMenuAnimationController.swift
internal protocol SideMenuAnimationControllerDelegate: class {
- SideMenuNavigationController.swift
internal protocol SideMenuNavigationControllerTransitionDelegate: class {
- SideMenuPresentationController.swift
internal protocol SideMenuPresentationControllerDelegate: class {
- SideMenuTransitionController.swift
internal protocol SideMenuTransitionControllerDelegate: class {
alleyrat commented
Simple fix. Closed.