2009/2/13 Alex <[email protected]>:
>
> We are using the Cocoa APIs. So we store the [event identifier] in our
> database so we can uniquely identify an event. It looks like this:
>
> http://www.google.com/calendar/feeds/<email>/events/vhnarfk3dkdgu53n0j61dj4ta0
>
> Now I need to be able to delete an event or edit it. I understand the
> the way to do that is to retrieve the event from Google and then use
> its edit link to delete/edit. But how can I do that with just the
> above?
>
> Can I simply make a new GDataEntryCalendarEvent* event
> [GDataEntryCalendarEvent calendarEvent]; and then [event
> setIdentifier:calendarEventID] and then pass that to
> fetchCalendarEntryWithURL to get the  entry?
>

Actually, you should just be able to pass that URL directly to
fetchCalendarEntryWithURL. I don't believe there's any reason to
create the new GDataEntryCalendarEvent yourself.

(I could be wrong though, sadly I don't have as much experience with
the Obj-C library as I'd like.)

-- 
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