You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2020. It is now read-only.
Hi, @malcommac
Thank you for providing a nice library.
Please tell me about the implementation of
ModelProtocol.If the object conforms to the
Equatableprotocol, i can use the default implementation ofExtensionso i do not need to writeisEqualmethod.Likewise, if the object conforms to the
Hashableprotocol, i do not want to write theidentifierproperty.Is there a problem with the code below?
It seems that compatibility is good.
Synthesizing Equatable and Hashable conformance
I think that implementation will be easier.
best regards.