Using the 'class' keyword in a protocol declaration (eg protocol MyProtocol : class {} was deprecated as of Swift 4. I replaced 'class' keyword with 'AnyObject'. This should improve the longevity of the project and remove build warnings for those using Swift 4 and above.
Using the 'class' keyword in a protocol declaration (eg
protocol MyProtocol : class {}
was deprecated as of Swift 4. I replaced 'class' keyword with 'AnyObject'. This should improve the longevity of the project and remove build warnings for those using Swift 4 and above.