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

Hi author #4

Open
flev50 opened this issue Apr 3, 2018 · 0 comments
Open

Hi author #4

flev50 opened this issue Apr 3, 2018 · 0 comments

Comments

@flev50
Copy link

flev50 commented Apr 3, 2018

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)
}

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