LoginSignup
4

More than 5 years have passed since last update.

Google Calendar APIとEventKitでイベントを識別する

Posted at

動機

Google Calendarからイベントを取り込みつつEventKitからもイベントを取り込む際に、重複をなくしたい。

概要

Google Calendar APIから返されるiCalUIDとEventKitのEKCalendarItemクラスにあるcalendarItemExternalIdentifierは同じ値を返します。

参考

https://developer.apple.com/library/ios/documentation/EventKit/Reference/EKCalendarItemClassRef/index.html#//apple_ref/occ/instp/EKCalendarItem/calendarItemExternalIdentifier
https://developers.google.com/google-apps/calendar/v3/reference/events?hl=ja

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4