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 PROTECTED]
http://www.ntractive.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to