views:

27

answers:

0

I'm researching EventKit for an upcoming project, and I have a question that the documentation doesn't clearly answer. I could whip up a quick test, but it's quicker just to ask:

Let's say I use eventsMatchingPredicate: to fetch an array of events that occur in a given time span. Now let's assume that one event exists in my EKEventStore, and it recurs 3 times during the requested time span. Let's further assume that the startDate for the event occurred before the time span began. What does the array returned from eventsMatchingPredictate: contain in this case?

I assume that the array will only contain one MKEvent element, even though it recurs three times during the requested time span. If this assumption is correct, is there any convenience method that will give me the exact dates for the three recurrences? I haven't noticed any such method, but I might have overlooked something.