Documentation Archive Developer
Search

EventKit Changes

EventKit

Added EKCalendar.color
Added EKParticipant.ABPersonInAddressBook(ABAddressBook!) -> ABPerson!
Modified EKAlarm
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKAlarm.absoluteDate
Declaration
From
var absoluteDate: NSDate!
To
@NSCopying var absoluteDate: NSDate!

Modified EKAlarm.init(absoluteDate: NSDate!)
Declaration
From
init(absoluteDate date: NSDate!) -> EKAlarm
To
init!(absoluteDate date: NSDate!) -> EKAlarm

Modified EKAlarm.emailAddress
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKAlarm.init(relativeOffset: NSTimeInterval)
Declaration
From
init(relativeOffset offset: NSTimeInterval) -> EKAlarm
To
init!(relativeOffset offset: NSTimeInterval) -> EKAlarm

Modified EKAlarm.soundName
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKAlarm.structuredLocation
Declaration
From
var structuredLocation: EKStructuredLocation!
To
@NSCopying var structuredLocation: EKStructuredLocation!

Modified EKAlarm.type
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKAuthorizationStatus [enum]
Introduction
FromOS X 10.10
ToOS X 10.9

Modified EKCalendar
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendar.allowedEntityTypes
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendar.calendarIdentifier
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendar.init(forEntityType: EKEntityType, eventStore: EKEventStore!)
DeclarationIntroduction
From
init(forEntityType entityType: EKEntityType, eventStore eventStore: EKEventStore!) -> EKCalendar
OS X 10.10
To
init!(forEntityType entityType: EKEntityType, eventStore eventStore: EKEventStore!) -> EKCalendar
OS X 10.8

Modified EKCalendar.immutable
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendar.subscribed
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem.URL
DeclarationIntroduction
From
var URL: NSURL!
OS X 10.10
To
@NSCopying var URL: NSURL!
OS X 10.8

Modified EKCalendarItem.calendarItemExternalIdentifier
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem.calendarItemIdentifier
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem.creationDate
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem.hasAlarms
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem.hasAttendees
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem.hasNotes
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem.hasRecurrenceRules
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem.recurrenceRules
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKCalendarItem.timeZone
DeclarationIntroduction
From
var timeZone: NSTimeZone!
OS X 10.10
To
@NSCopying var timeZone: NSTimeZone!
OS X 10.8

Modified EKEvent
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEvent.birthdayPersonUniqueID
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEvent.endDate
Declaration
From
var endDate: NSDate!
To
@NSCopying var endDate: NSDate!

Modified EKEvent.init(eventStore: EKEventStore!)
Declaration
From
init(eventStore eventStore: EKEventStore!) -> EKEvent
To
init!(eventStore eventStore: EKEventStore!) -> EKEvent

Modified EKEvent.occurrenceDate
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEvent.startDate
Declaration
From
var startDate: NSDate!
To
@NSCopying var startDate: NSDate!

Modified EKEventStore
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.init()
DeclarationIntroduction
From
init()
OS X 10.10
To
init!()
OS X 10.9

Modified EKEventStore.authorizationStatusForEntityType(EKEntityType) -> EKAuthorizationStatus [class]
Introduction
FromOS X 10.10
ToOS X 10.9

Modified EKEventStore.calendarItemWithIdentifier(String!) -> EKCalendarItem!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.calendarItemsWithExternalIdentifier(String!) -> [AnyObject]!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.calendarWithIdentifier(String!) -> EKCalendar!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.calendarsForEntityType(EKEntityType) -> [AnyObject]!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.cancelFetchRequest(AnyObject!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.commit(NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.defaultCalendarForNewReminders() -> EKCalendar!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.fetchRemindersMatchingPredicate(NSPredicate!, completion:(([AnyObject]!) -> Void)!) -> AnyObject!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.predicateForCompletedRemindersWithCompletionDateStarting(NSDate!, ending: NSDate!, calendars:[AnyObject]!) -> NSPredicate!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.predicateForIncompleteRemindersWithDueDateStarting(NSDate!, ending: NSDate!, calendars:[AnyObject]!) -> NSPredicate!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.predicateForRemindersInCalendars([AnyObject]!) -> NSPredicate!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.refreshSourcesIfNecessary()
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.removeCalendar(EKCalendar!, commit: Bool, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.removeEvent(EKEvent!, span: EKSpan, commit: Bool, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.removeReminder(EKReminder!, commit: Bool, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.requestAccessToEntityType(EKEntityType, completion: EKEventStoreRequestAccessCompletionHandler!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified EKEventStore.reset()
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.saveCalendar(EKCalendar!, commit: Bool, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.saveEvent(EKEvent!, span: EKSpan, commit: Bool, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.saveReminder(EKReminder!, commit: Bool, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.sourceWithIdentifier(String!) -> EKSource!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKEventStore.sources() -> [AnyObject]!
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKParticipant
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKParticipant.isCurrentUser
Introduction
FromOS X 10.10
ToOS X 10.9

Modified EKRecurrenceDayOfWeek
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKRecurrenceDayOfWeek.init(_: Int)
Declaration
From
init(_ dayOfTheWeek: Int) -> EKRecurrenceDayOfWeek
To
init!(_ dayOfTheWeek: Int) -> EKRecurrenceDayOfWeek

Modified EKRecurrenceDayOfWeek.init(_: Int, weekNumber: Int)
Declaration
From
init(_ dayOfTheWeek: Int, weekNumber weekNumber: Int) -> EKRecurrenceDayOfWeek
To
init!(_ dayOfTheWeek: Int, weekNumber weekNumber: Int) -> EKRecurrenceDayOfWeek

Modified EKRecurrenceDayOfWeek.init(dayOfTheWeek: Int, weekNumber: Int)
Declaration
From
init(dayOfTheWeek dayOfTheWeek: Int, weekNumber weekNumber: Int)
To
init!(dayOfTheWeek dayOfTheWeek: Int, weekNumber weekNumber: Int)

Modified EKRecurrenceEnd
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKRecurrenceRule
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKRecurrenceRule.recurrenceEnd
Declaration
From
var recurrenceEnd: EKRecurrenceEnd!
To
@NSCopying var recurrenceEnd: EKRecurrenceEnd!

Modified EKRecurrenceRule.init(recurrenceWithFrequency: EKRecurrenceFrequency, interval: Int, daysOfTheWeek:[AnyObject]!, daysOfTheMonth:[AnyObject]!, monthsOfTheYear:[AnyObject]!, weeksOfTheYear:[AnyObject]!, daysOfTheYear:[AnyObject]!, setPositions:[AnyObject]!, end: EKRecurrenceEnd!)
Declaration
From
init(recurrenceWithFrequency type: EKRecurrenceFrequency, interval interval: Int, daysOfTheWeek days: [AnyObject]!, daysOfTheMonth monthDays: [AnyObject]!, monthsOfTheYear months: [AnyObject]!, weeksOfTheYear weeksOfTheYear: [AnyObject]!, daysOfTheYear daysOfTheYear: [AnyObject]!, setPositions setPositions: [AnyObject]!, end end: EKRecurrenceEnd!)
To
init!(recurrenceWithFrequency type: EKRecurrenceFrequency, interval interval: Int, daysOfTheWeek days: [AnyObject]!, daysOfTheMonth monthDays: [AnyObject]!, monthsOfTheYear months: [AnyObject]!, weeksOfTheYear weeksOfTheYear: [AnyObject]!, daysOfTheYear daysOfTheYear: [AnyObject]!, setPositions setPositions: [AnyObject]!, end end: EKRecurrenceEnd!)

Modified EKRecurrenceRule.init(recurrenceWithFrequency: EKRecurrenceFrequency, interval: Int, end: EKRecurrenceEnd!)
Declaration
From
init(recurrenceWithFrequency type: EKRecurrenceFrequency, interval interval: Int, end end: EKRecurrenceEnd!)
To
init!(recurrenceWithFrequency type: EKRecurrenceFrequency, interval interval: Int, end end: EKRecurrenceEnd!)

Modified EKReminder
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKReminder.completionDate
Declaration
From
var completionDate: NSDate!
To
@NSCopying var completionDate: NSDate!

Modified EKReminder.dueDateComponents
Declaration
From
var dueDateComponents: NSDateComponents!
To
@NSCopying var dueDateComponents: NSDateComponents!

Modified EKReminder.init(eventStore: EKEventStore!)
Declaration
From
init(eventStore eventStore: EKEventStore!) -> EKReminder
To
init!(eventStore eventStore: EKEventStore!) -> EKReminder

Modified EKReminder.startDateComponents
Declaration
From
var startDateComponents: NSDateComponents!
To
@NSCopying var startDateComponents: NSDateComponents!

Modified EKSource
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKSource.calendarsForEntityType(EKEntityType) -> Set<NSObject>!
DeclarationIntroduction
From
func calendarsForEntityType(_ entityType: EKEntityType) -> NSSet!
OS X 10.10
To
func calendarsForEntityType(_ entityType: EKEntityType) -> Set<NSObject>!
OS X 10.8

Modified EKStructuredLocation
Introduction
FromOS X 10.10
ToOS X 10.8

Modified EKStructuredLocation.init(title: String!)
Declaration
From
init(title title: String!) -> EKStructuredLocation
To
init!(title title: String!) -> EKStructuredLocation

Modified DATETIME_COMPONENTS_DO_NOT_USE()
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified DATE_COMPONENTS_DO_NOT_USE()
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified EKErrorDomain
DeclarationIntroduction
From
let EKErrorDomain: NSString!
OS X 10.10
To
let EKErrorDomain: String
OS X 10.8

Modified EKEventSearchCallback
Declaration
From
typealias EKEventSearchCallback = (EKEvent!, UnsafePointer<ObjCBool>) -> Void
To
typealias EKEventSearchCallback = (EKEvent!, UnsafeMutablePointer<ObjCBool>) -> Void

Modified EKEventStoreChangedNotification
DeclarationIntroduction
From
let EKEventStoreChangedNotification: NSString!
OS X 10.10
To
let EKEventStoreChangedNotification: String
OS X 10.8

Modified EK_LOSE_FRACTIONAL_SECONDS_DO_NOT_USE()
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10