EmptyStateKit icon indicating copy to clipboard operation
EmptyStateKit copied to clipboard

Fix warnings about using class for restricting protocols to classes.

Open Zandor300 opened this issue 3 years ago • 0 comments

Using class to restrict protocols to just classes is deprecated. Instead we need to use AnyObject. This PR will get rid of 5 warnings:

Using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead

@alberdev

Zandor300 avatar Feb 14 '22 13:02 Zandor300