Using ": class" always felt wrong for me — but only because of the convention 
that type names should start uppercase:
What is wrong with "Class" instead of "AnyObject"?
Object is a very broad term, and it isn't that uncommon to use it for all kinds 
of entities (not only reference types).
And what if we ever decide that restricting protocols to structs or enums 
should be allowed as well?
Or maybe there are secret plans to add new reference types to Swift? ;-)
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to