CalendarStore Question
CalendarStore Question
- Subject: CalendarStore Question
- From: "Mazen M. Abdel-Rahman" <email@hidden>
- Date: Mon, 19 Apr 2010 08:51:21 -0700
Hi All,
I am having difficulty with modifying recurring events in iCal using the Calendar Store framework.
I can take a single event (non recurring) event and make it repeating - including specifying an end date or number of repeats. To do that I use the following line:
[[CalCalendarStore defaultCalendarStore] saveEvent:calEvent span:CalSpanAllEvents error:&calError]
However - when I do that the first occurrence of the event has property isDetached = YES.
If instead modify the event (make a non-repeating event repeating) directly through iCal - the property isDetached = NO.
I also tried it with span = CalSpanThisEvent and span = CalSpanFutureEvents - and with those options I also get isDetached = YES when I make a non-repeating event repeating.
Anyone have any idea what I might be doing wrong?
Thanks,
Mazen Abdel-Rahman
_______________________________________________
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