Class-only protocols, class vs AnyObject?

See swift - What's the difference between a protocol extended from AnyObject and a class-only protocol? - Stack Overflow for a subtle difference, but yes it has been stated that it will be removed. I also don't know why it wasn't deprecated in this release.

1 Like