Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Dwifft with custom class #98

Open
NeomMob opened this issue Mar 24, 2019 · 0 comments
Open

Using Dwifft with custom class #98

NeomMob opened this issue Mar 24, 2019 · 0 comments

Comments

@NeomMob
Copy link

NeomMob commented Mar 24, 2019

I am using Dwifft with a custom class and I am not getting the expected result.
It seems that the issue is because some of the variables of the class are changed.
In order to avoid that I wanted to exclude these unwated property. I hence added the following function but Dwiff nevel calls it. How Dwiff test equality between two objects?

static func == (lhs: Slide, rhs: Slide) -> Bool {
    return lhs.markdown == rhs.markdown
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant