Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Extraneous argument label 'using:' in call #171

Open
lusabo opened this issue Aug 8, 2017 · 0 comments
Open

Extraneous argument label 'using:' in call #171

lusabo opened this issue Aug 8, 2017 · 0 comments
Labels

Comments

@lusabo
Copy link

lusabo commented Aug 8, 2017

I'm trying to filter a table like the code below:

let predicate = NSPredicate(format: "validFrom <= %@ && validUntil >= %@", signedAt as NSDate, signedAt as NSDate)
result = context.certificates.filter(using: predicate)

But the XCode show the error Extraneous argument label 'using:' in call in the second line.

Is there a way to use BETWEEN statement with Alecrim?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants