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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 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.
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.
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.
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
Rights and permissions
Copyright information
© 2019 Manuel Carrasco Molina
About this chapter
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
DOI: https://doi.org/10.1007/978-1-4842-4291-9_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4290-2
Online ISBN: 978-1-4842-4291-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)