Is it possible to define the ordering in iCal of all day events
created via the CalCalendarStore API?
I'm looping through a list of sorted items that I would like to appear
in the same order in iCal. However, it looks like iCal does not honor
the item creation order and I don't see any API for display
sequencing. The creation code looks something like this:
for (MyItem *item in collection.sortedItems) {
if (!item.isSynced) {
CalEvent *event = [CalEvent event];
event.calendar = [[CalCalendarStore defaultCalendarStore]
calendarWithUID:self.calCalendarUID];
event.title = item.name;
event.notes = item.details;
event.startDate = event.endDate = item.date;
event.isAllDay = YES;
NSError *error;
[[CalCalendarStore defaultCalendarStore] saveEvent:event
span:CalSpanThisEvent error:&error];
}
}
Any input is appreciated.
Cheers,
Brad Willoughby
TinyPlanet Software, LLC
http://tinyplanetsoftware.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]