mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Predicate with Dates #368
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @llYunall on GitHub (Jul 15, 2021).
Hello,
I'm trying to do a NSPredicate with two dates and it gives me an error all the time.
This is the code that I'm using:
Do you know how can I use a Date variable in the predicate?
Thanks!
@JohnEstropia commented on GitHub (Jul 20, 2021):
You don't need to use an
NSPredicate. It will mess up the generic type resolution. I also recommend the query builder syntax instead:@llYunall commented on GitHub (Jul 20, 2021):
Perfect! Thanks a lot :)