Snapkit: Swift Compiler Warning - Deprecated protocol inheritance

Created on 5 May 2021  路  2Comments  路  Source: SnapKit/SnapKit

New Issue Checklist

馃毇 If this template is not filled out your issue will be closed with no comment. 馃毇

  • [x] I have looked at the Documentation
  • [x] I have read the F.A.Q.
  • [x] I have filled out this issue template.

Issue Info

Info | Value |
-------------------------|-------------------------------------|
Platform | iOS
Platform Version | 14.5
SnapKit Version | 5.0.1
Swift Version | 5.3.1
Xcode Version | 12.5
Integration Method | Cocoapods

Issue Description

Starting with Xcode 12.5 I am getting this warning from the compiler

_Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead_

Most helpful comment

develop has some fixes I'll try and publish a new version over weekend

All 2 comments

develop has some fixes I'll try and publish a new version over weekend

Any updates on this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mkoppanen picture mkoppanen  路  3Comments

lolgear picture lolgear  路  5Comments

snibble-manan picture snibble-manan  路  7Comments

MoShenGuo picture MoShenGuo  路  4Comments

danieleggert picture danieleggert  路  3Comments