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 has been archived by the owner on Dec 5, 2022. It is now read-only.
For example, in my code i have a very common case:
protocol BaseClassProtocol { }
class ConcreteClass1: BaseClassProtocol { }
class ConcreteClass2: BaseClassProtocol { }
Anywere in my codebase, there is only BaseClassProtocol being used. For example:
let array:[BaseClassProtocol] = ...
this array contains various classes/structs with the same protocol.
How can I apply DeepDiff library and DiffAware protocol to compare various arrays of BaseClassProtocol objects?
The text was updated successfully, but these errors were encountered:
@Voxar Yeah, I came up with the similar structure. I asked because I don't like this overhead. But I understand there are some Swift's nuances which leads to difficulties in such kind of API.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For example, in my code i have a very common case:
Anywere in my codebase, there is only
BaseClassProtocol
being used. For example:let array:[BaseClassProtocol] = ...
this array contains various classes/structs with the same protocol.
How can I apply DeepDiff library and DiffAware protocol to compare various arrays of
BaseClassProtocol
objects?The text was updated successfully, but these errors were encountered: