HHK1 / PryntTrimmerView

A set of tools to trim, crop and select frames inside a video
MIT License
835 stars 199 forks source link

Remove deprecated usages of 'class' in protocol definitions. #82

Closed oscottSA closed 2 years ago

oscottSA commented 3 years ago

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.