Skip to main content

Calendar and Events

  • Chapter
  • First Online:
Book cover Karma-based API on Apple Platforms
  • 370 Accesses

Abstract

The Calendar Framework is called EventKit, and its corresponding user interfaces are in EventKitUI. The basic underlying model allows you to describe a calendar as well as a single event.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 32.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    For performance reasons, this method matches only those events within a 4-year time span. If the date range between startDate and endDate is greater than 4 years, it is shortened to the first 4 years. — Thanks @michel_fortin on coreint.slack.com for the hint. https://developer.apple.com/documentation/eventkit/ekeventstore/1507479-predicateforevents

  2. 2.

    Watch “Solutions to Common Date and Time Challenges”, a session from WWDC 2013 at https://developer.apple.com/wwdc13/227 . It might be over 6 years old, but it’s still very much relevant — and now to iOS as well.

  3. 3.

    The difference here being that such an app would also need access to your calendar, which the calendar doesn’t ask. The Camera doesn’t ask for access to your camera either!

  4. 4.

    This is in fact what Felix Krause does to detect.location at https://krausefx.com/privacy . He finds the fastest photos, but can also tell if a user has attended college. Frightening, isn’t it?! Felix is a great inspiration for the community of people interested in the ethics behind Privacy.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Manuel Carrasco Molina

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Carrasco Molina, M. (2019). Calendar and Events. In: Karma-based API on Apple Platforms. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4291-9_5

Download citation

Publish with us

Policies and ethics