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?
I'm trying to filter a table like the code below:
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?