Skip to content

Using Dwifft with custom class #98

Description

@NeomMob

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions