CalendarStore eventPredicateWithStartDate question
CalendarStore eventPredicateWithStartDate question
- Subject: CalendarStore eventPredicateWithStartDate question
- From: Dale Jensen <email@hidden>
- Date: Tue, 21 Oct 2008 10:15:25 -0500
In attempting to read events from the CalendarStore for a specific
calendar and expansive time period, I'm using:
eventPredicateWithStartDate:endDate:calendars:
The existance of, and documentation for, this other implementation:
eventPredicateWithStartDate:endDate:UID:calendars:
implies that the first call would only return one instance of a
recurring event, but it does not. If I have a weekly event and my
time period is two years, I get 104 events back, all with the same UID
(different dates, though, of course.)
I realize that I can filter the events myself manually, but is there
an better way to go about this? All I really want to get back are the
unique events over the time period, and if you had a reasonably
complicated calendar with dozens of recurring events, this call could
easily start to return thousands of objects, which seems a little
inefficient.
Thanks!
dale
--
Dale Jensen, CEO
Ntractive, LLC
email@hidden
http://www.ntractive.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden