Skip to content

Hi author #4

@flev50

Description

@flev50

Hi im using your great pod CVcalendarkit.

Im trying to upgrade my project to Swift 3 from 2 but have some issues.

Do you have a upgraded version for swift 3 ?

I have issues with the following code with operand '==":

public func == (lhs: Date, rhs: Date) -> Bool {
return compareWithOperation({ $0 == $1 }, resultMerge: { $0 && $1 && $2 })(lhs, rhs)
}

public func >= (lhs: Date, rhs: Date) -> Bool {
return compareWithOperation({ $0 > $1 || lhs == rhs }, resultMerge: { $0 || $1 || $2 })(lhs, rhs)
}

public func <= (lhs: Date, rhs: Date) -> Bool {
return compareWithOperation({ $0 < $1 || lhs == rhs }, resultMerge: { $0 || $1 || $2 })(lhs, rhs)
}

public func != (lhs: Date, rhs: Date) -> Bool {
return !(lhs == rhs)
}

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