Hi Trevor Johns,

Now I'm able to create recurring event in Objc. Thanks anyway for the
link to Objc support group.

Thanks,
Trung

On Dec 17, 1:03 pm, Trevor Johns <[email protected]> wrote:
> On Sun, Nov 9, 2008 at 8:20 PM, kaka <[email protected]> wrote:
>
> > Hi,
>
> > I used GData ObjC to create a recurring event by the following codes:
>
> > NSURL *feedURL = [[self.myCalendar alternateLink] URL];
> > GDataEntryCalendarEvent *newEvent = [GDataEntryCalendarEvent
> > calendarEvent];
> > [newEvent setTitleWithString:@"Test Create Recurring Event"];
> > NSString *str = @"DTSTART;TZID=Asia/Saigon:20081110T160000\r\n \
> >                        DTEND;TZID=Asia/Saigon:20081110T170000\r\n \
> >                        RRULE:FREQ=DAILY";
>
> > GDataRecurrence *recur = [GDataRecurrence recurrenceWithString:str];
> > [newEvent setRecurrence:recur];
> > GDataServiceGoogleCalendar *service = [self calendarService];
> > [service fetchCalendarEventByInsertingEntry:newEvent
> >                forFeedURL:feedURL
> >                delegate:self
>
> > didFinishSelector:@selector(addRecurringEventTicket:finishedWithFeed:)
> >                didFailSelector:@selector(errorTicket:failedWithError:)];
>
> > The recurring event was successfully created, however I saw only 1
> > instance of recurring event in my calendar. When I opened to edit
> > event details, I saw the "Repeats" field was "Does Not Repeat". In
> > fact, the recurring event is repeated daily.
>
> > Could anyone give me an advise for the right way to create recurring
> > event?
>
> > Thanks,
> > Trung
>
> Trung,
> Can you post this to the Objective-C client support group? They should
> be able to better help there.
>
> http://groups.google.com/group/gdata-objectivec-client
>
> --
> Trevor Johns

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to