You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think protocol should inherit from AnyObject.
As described in the following article, the specification is such that if you do not inherit AnyObject in protocol, you will get a warning. Swift forums 'Class-only protocols, class vs AnyObject?'
Actual Behavior
Since the class is inherited by protocol, we get a warning.
Steps to Reproduce the Problem
Build with Xcode
Specifications
Xcode version: 12.5
iOS version: 14.0
Dependency manager + version: n/a
The text was updated successfully, but these errors were encountered:
Expected Behavior
I think protocol should inherit from AnyObject.
As described in the following article, the specification is such that if you do not inherit AnyObject in protocol, you will get a warning.
Swift forums 'Class-only protocols, class vs AnyObject?'
Actual Behavior
Since the class is inherited by protocol, we get a
warning
.Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: