How to filter reminder using start and end dates let predicate = eventStore.predicateForIncompleteRemindersWithDueDateStarting(today, ending:tomorrow, calendars: [])
am using this method for filter but am getting null value.
Asked
Active
Viewed 54 times
0

Kenrick
- 1
- 1
-
Maybe because you are asking the eventStore to search an empty array of calendars `[]`? Would `calendars:nil` do what you want? – hnh Jul 19 '16 at 22:06
1 Answers
0
You are asking for events from an empty set of calendars (you are passing in []
). No calendars contain no events ...

hnh
- 13,957
- 6
- 30
- 40