Reputation: 58786
I do not want to extend a class, just a one instance of a class with a protocol. is this possible?
Upvotes: 1
Views: 393
Reputation: 5231
What you are describing sounds like the current proposal for specify!
(JIRA and Design Document). So, it is currently not possible to extend a single instance with a protocol.
Upvotes: 2