EventKit Changes for Swift
EventKit
Removed EKAlarmType [struct]
Removed EKAlarmType.init(_: UInt32)
Removed EKAlarmType.value
Removed EKCalendarType [struct]
Removed EKCalendarType.init(_: UInt32)
Removed EKCalendarType.value
Removed EKErrorCode.init(_: UInt32)
Removed EKErrorCode.value
Removed EKEventAvailability [struct]
Removed EKEventAvailability.init(_: Int32)
Removed EKEventAvailability.value
Removed EKEventStatus [struct]
Removed EKEventStatus.init(_: UInt32)
Removed EKEventStatus.value
Removed EKEventStore.sources() -> [AnyObject]!
Removed EKObject.hasChanges() -> Bool
Removed EKObject.isNew() -> Bool
Removed EKParticipant.isCurrentUser
Removed EKParticipantRole [struct]
Removed EKParticipantRole.init(_: UInt32)
Removed EKParticipantRole.value
Removed EKParticipantStatus [struct]
Removed EKParticipantStatus.init(_: UInt32)
Removed EKParticipantStatus.value
Removed EKParticipantType [struct]
Removed EKParticipantType.init(_: UInt32)
Removed EKParticipantType.value
Removed EKRecurrenceFrequency [struct]
Removed EKRecurrenceFrequency.init(_: UInt32)
Removed EKRecurrenceFrequency.value
Removed EKReminderPriority [struct]
Removed EKReminderPriority.init(_: UInt)
Removed EKReminderPriority.value
Removed EKSourceType [struct]
Removed EKSourceType.init(_: UInt32)
Removed EKSourceType.value
Removed EKSpan [struct]
Removed EKSpan.init(_: UInt32)
Removed EKSpan.value
Removed EKAlarmProximity
Removed EKAlarmProximityEnter
Removed EKAlarmProximityLeave
Removed EKAlarmProximityNone
Removed EKAlarmTypeAudio
Removed EKAlarmTypeDisplay
Removed EKAlarmTypeEmail
Removed EKAlarmTypeProcedure
Removed EKCalendarEventAvailabilityBusy
Removed EKCalendarEventAvailabilityFree
Removed EKCalendarEventAvailabilityMask
Removed EKCalendarEventAvailabilityNone
Removed EKCalendarEventAvailabilityTentative
Removed EKCalendarEventAvailabilityUnavailable
Removed EKCalendarTypeBirthday
Removed EKCalendarTypeCalDAV
Removed EKCalendarTypeExchange
Removed EKCalendarTypeLocal
Removed EKCalendarTypeSubscription
Removed EKEntityMask
Removed EKEntityMaskEvent
Removed EKEntityMaskReminder
Removed EKEntityType
Removed EKEntityTypeEvent
Removed EKEntityTypeReminder
Removed EKEventAvailabilityBusy
Removed EKEventAvailabilityFree
Removed EKEventAvailabilityNotSupported
Removed EKEventAvailabilityTentative
Removed EKEventAvailabilityUnavailable
Removed EKEventStatusCanceled
Removed EKEventStatusConfirmed
Removed EKEventStatusNone
Removed EKEventStatusTentative
Removed EKFriday
Removed EKMonday
Removed EKParticipantRoleChair
Removed EKParticipantRoleNonParticipant
Removed EKParticipantRoleOptional
Removed EKParticipantRoleRequired
Removed EKParticipantRoleUnknown
Removed EKParticipantStatusAccepted
Removed EKParticipantStatusCompleted
Removed EKParticipantStatusDeclined
Removed EKParticipantStatusDelegated
Removed EKParticipantStatusInProcess
Removed EKParticipantStatusPending
Removed EKParticipantStatusTentative
Removed EKParticipantStatusUnknown
Removed EKParticipantTypeGroup
Removed EKParticipantTypePerson
Removed EKParticipantTypeResource
Removed EKParticipantTypeRoom
Removed EKParticipantTypeUnknown
Removed EKRecurrenceFrequencyDaily
Removed EKRecurrenceFrequencyMonthly
Removed EKRecurrenceFrequencyWeekly
Removed EKRecurrenceFrequencyYearly
Removed EKReminderPriorityHigh
Removed EKReminderPriorityLow
Removed EKReminderPriorityMedium
Removed EKReminderPriorityNone
Removed EKSaturday
Removed EKSourceTypeBirthdays
Removed EKSourceTypeCalDAV
Removed EKSourceTypeExchange
Removed EKSourceTypeLocal
Removed EKSourceTypeMobileMe
Removed EKSourceTypeSubscribed
Removed EKSpanFutureEvents
Removed EKSpanThisEvent
Removed EKSunday
Removed EKThursday
Removed EKTuesday
Removed EKWednesday
Added EKAlarmProximity [enum]
Added EKAlarmProximity.Enter
Added EKAlarmProximity.Leave
Added EKAlarmProximity.None
Added EKAlarmType [enum]
Added EKAlarmType.Audio
Added EKAlarmType.Display
Added EKAlarmType.Email
Added EKAlarmType.Procedure
Added EKCalendarEventAvailabilityMask.init(rawValue: UInt)
Added EKCalendarType [enum]
Added EKCalendarType.Birthday
Added EKCalendarType.CalDAV
Added EKCalendarType.Exchange
Added EKCalendarType.Local
Added EKEntityMask [struct]
Added EKEntityMask.Event
Added EKEntityMask.init(rawValue: UInt)
Added EKEntityMask.Reminder
Added EKEntityType [enum]
Added EKEntityType.Event
Added EKEntityType.Reminder
Added EKEventAvailability.Busy
Added EKEventAvailability.Free
Added EKEventStatus [enum]
Added EKEventStatus.Canceled
Added EKEventStatus.Confirmed
Added EKEventStatus.None
Added EKEventStatus.Tentative
Added EKEventStore.sources
Added EKObject.hasChanges
Added EKObject.new
Added EKParticipantRole [enum]
Added EKParticipantRole.Chair
Added EKParticipantType [enum]
Added EKParticipantType.Group
Added EKParticipantType.Person
Added EKParticipantType.Room
Added EKReminderPriority.High
Added EKReminderPriority.Low
Added EKReminderPriority.None
Added EKSourceType [enum]
Added EKSourceType.Birthdays
Added EKSourceType.CalDAV
Added EKSourceType.Exchange
Added EKSourceType.Local
Added EKSourceType.MobileMe
Added EKSourceType.Subscribed
Added EKSpan [enum]
Added EKSpan.FutureEvents
Added EKSpan.ThisEvent
Added EKWeekday [enum]
Added EKWeekday.EKFriday
Added EKWeekday.EKMonday
Added EKWeekday.EKSaturday
Added EKWeekday.EKSunday
Added EKWeekday.EKThursday
Added EKWeekday.EKTuesday
Added EKWeekday.EKWednesday
Added EKWeekday.Friday
Added EKWeekday.Monday
Added EKWeekday.Saturday
Added EKWeekday.Sunday
Added EKWeekday.Thursday
Added EKWeekday.Tuesday
Added EKWeekday.Wednesday
Modified EKAlarm
Declaration | |
---|---|
From | class EKAlarm : EKObject, NSCopying { init!(absoluteDate date: NSDate!) -> EKAlarm class func alarmWithAbsoluteDate(_ date: NSDate!) -> EKAlarm! init!(relativeOffset offset: NSTimeInterval) -> EKAlarm class func alarmWithRelativeOffset(_ offset: NSTimeInterval) -> EKAlarm! var relativeOffset: NSTimeInterval @NSCopying var absoluteDate: NSDate! @NSCopying var structuredLocation: EKStructuredLocation! var proximity: EKAlarmProximity var type: EKAlarmType { get } var emailAddress: String! var soundName: String! @NSCopying var url: NSURL! } |
To | class EKAlarm : EKObject, NSCopying { init(absoluteDate date: NSDate) class func alarmWithAbsoluteDate(_ date: NSDate) -> EKAlarm init(relativeOffset offset: NSTimeInterval) class func alarmWithRelativeOffset(_ offset: NSTimeInterval) -> EKAlarm var relativeOffset: NSTimeInterval @NSCopying var absoluteDate: NSDate? @NSCopying var structuredLocation: EKStructuredLocation? var proximity: EKAlarmProximity var type: EKAlarmType { get } var emailAddress: String? var soundName: String? @NSCopying var url: NSURL? } |
Modified EKAlarm.absoluteDate
Declaration | |
---|---|
From | @NSCopying var absoluteDate: NSDate! |
To | @NSCopying var absoluteDate: NSDate? |
Modified EKAlarm.emailAddress
Declaration | |
---|---|
From | var emailAddress: String! |
To | var emailAddress: String? |
Modified EKAlarm.init(absoluteDate: NSDate)
Declaration | |
---|---|
From | init!(absoluteDate date: NSDate!) -> EKAlarm |
To | init(absoluteDate date: NSDate) |
Declaration | |
---|---|
From | init!(relativeOffset offset: NSTimeInterval) -> EKAlarm |
To | init(relativeOffset offset: NSTimeInterval) |
Modified EKAlarm.soundName
Declaration | |
---|---|
From | var soundName: String! |
To | var soundName: String? |
Modified EKAlarm.structuredLocation
Declaration | |
---|---|
From | @NSCopying var structuredLocation: EKStructuredLocation! |
To | @NSCopying var structuredLocation: EKStructuredLocation? |
Modified EKAuthorizationStatus [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified EKCalendar
Declaration | |
---|---|
From | class EKCalendar : EKObject { init!(forEntityType entityType: EKEntityType, eventStore eventStore: EKEventStore!) -> EKCalendar class func calendarForEntityType(_ entityType: EKEntityType, eventStore eventStore: EKEventStore!) -> EKCalendar! var source: EKSource! var calendarIdentifier: String! { get } var title: String! var type: EKCalendarType { get } var allowsContentModifications: Bool { get } var subscribed: Bool { get } var immutable: Bool { get } @NSCopying var color: NSColor! var supportedEventAvailabilities: EKCalendarEventAvailabilityMask { get } var allowedEntityTypes: EKEntityMask { get } } |
To | class EKCalendar : EKObject { init(eventStore eventStore: EKEventStore) class func calendarWithEventStore(_ eventStore: EKEventStore) -> EKCalendar init(forEntityType entityType: EKEntityType, eventStore eventStore: EKEventStore) class func calendarForEntityType(_ entityType: EKEntityType, eventStore eventStore: EKEventStore) -> EKCalendar var source: EKSource var calendarIdentifier: String { get } var title: String var type: EKCalendarType { get } var allowsContentModifications: Bool { get } var subscribed: Bool { get } var immutable: Bool { get } @NSCopying var color: NSColor var supportedEventAvailabilities: EKCalendarEventAvailabilityMask { get } var allowedEntityTypes: EKEntityMask { get } } |
Modified EKCalendar.calendarIdentifier
Declaration | |
---|---|
From | var calendarIdentifier: String! { get } |
To | var calendarIdentifier: String { get } |
Modified EKCalendar.color
Declaration | |
---|---|
From | @NSCopying var color: NSColor! |
To | @NSCopying var color: NSColor |
Declaration | |
---|---|
From | init!(forEntityType entityType: EKEntityType, eventStore eventStore: EKEventStore!) -> EKCalendar |
To | init(forEntityType entityType: EKEntityType, eventStore eventStore: EKEventStore) |
Modified EKCalendar.source
Declaration | |
---|---|
From | var source: EKSource! |
To | var source: EKSource |
Modified EKCalendar.title
Declaration | |
---|---|
From | var title: String! |
To | var title: String |
Modified EKCalendarItem
Declaration | |
---|---|
From | class EKCalendarItem : EKObject { var calendar: EKCalendar! var calendarItemIdentifier: String! { get } var calendarItemExternalIdentifier: String! { get } var title: String! var location: String! var notes: String! @NSCopying var URL: NSURL! var lastModifiedDate: NSDate! { get } var creationDate: NSDate! { get } @NSCopying var timeZone: NSTimeZone! var hasAlarms: Bool { get } var hasRecurrenceRules: Bool { get } var hasAttendees: Bool { get } var hasNotes: Bool { get } var attendees: [AnyObject]! { get } var alarms: [AnyObject]! func addAlarm(_ alarm: EKAlarm!) func removeAlarm(_ alarm: EKAlarm!) var recurrenceRules: [AnyObject]! func addRecurrenceRule(_ rule: EKRecurrenceRule!) func removeRecurrenceRule(_ rule: EKRecurrenceRule!) } |
To | class EKCalendarItem : EKObject { var UUID: String { get } var calendar: EKCalendar var calendarItemIdentifier: String { get } var calendarItemExternalIdentifier: String { get } var title: String var location: String? var notes: String? @NSCopying var URL: NSURL? var lastModifiedDate: NSDate? { get } var creationDate: NSDate? { get } @NSCopying var timeZone: NSTimeZone? var hasAlarms: Bool { get } var hasRecurrenceRules: Bool { get } var hasAttendees: Bool { get } var hasNotes: Bool { get } var attendees: [EKParticipant]? { get } var alarms: [EKAlarm]? func addAlarm(_ alarm: EKAlarm) func removeAlarm(_ alarm: EKAlarm) var recurrenceRules: [EKRecurrenceRule]? func addRecurrenceRule(_ rule: EKRecurrenceRule) func removeRecurrenceRule(_ rule: EKRecurrenceRule) } |
Modified EKCalendarItem.addAlarm(_: EKAlarm)
Declaration | |
---|---|
From | func addAlarm(_ alarm: EKAlarm!) |
To | func addAlarm(_ alarm: EKAlarm) |
Declaration | |
---|---|
From | func addRecurrenceRule(_ rule: EKRecurrenceRule!) |
To | func addRecurrenceRule(_ rule: EKRecurrenceRule) |
Modified EKCalendarItem.alarms
Declaration | |
---|---|
From | var alarms: [AnyObject]! |
To | var alarms: [EKAlarm]? |
Modified EKCalendarItem.attendees
Declaration | |
---|---|
From | var attendees: [AnyObject]! { get } |
To | var attendees: [EKParticipant]? { get } |
Modified EKCalendarItem.calendar
Declaration | |
---|---|
From | var calendar: EKCalendar! |
To | var calendar: EKCalendar |
Declaration | |
---|---|
From | var calendarItemExternalIdentifier: String! { get } |
To | var calendarItemExternalIdentifier: String { get } |
Declaration | |
---|---|
From | var calendarItemIdentifier: String! { get } |
To | var calendarItemIdentifier: String { get } |
Modified EKCalendarItem.creationDate
Declaration | |
---|---|
From | var creationDate: NSDate! { get } |
To | var creationDate: NSDate? { get } |
Modified EKCalendarItem.lastModifiedDate
Declaration | |
---|---|
From | var lastModifiedDate: NSDate! { get } |
To | var lastModifiedDate: NSDate? { get } |
Modified EKCalendarItem.location
Declaration | |
---|---|
From | var location: String! |
To | var location: String? |
Modified EKCalendarItem.notes
Declaration | |
---|---|
From | var notes: String! |
To | var notes: String? |
Modified EKCalendarItem.recurrenceRules
Declaration | |
---|---|
From | var recurrenceRules: [AnyObject]! |
To | var recurrenceRules: [EKRecurrenceRule]? |
Declaration | |
---|---|
From | func removeAlarm(_ alarm: EKAlarm!) |
To | func removeAlarm(_ alarm: EKAlarm) |
Declaration | |
---|---|
From | func removeRecurrenceRule(_ rule: EKRecurrenceRule!) |
To | func removeRecurrenceRule(_ rule: EKRecurrenceRule) |
Modified EKCalendarItem.timeZone
Declaration | |
---|---|
From | @NSCopying var timeZone: NSTimeZone! |
To | @NSCopying var timeZone: NSTimeZone? |
Modified EKCalendarItem.title
Declaration | |
---|---|
From | var title: String! |
To | var title: String |
Modified EKCalendarItem.URL
Declaration | |
---|---|
From | @NSCopying var URL: NSURL! |
To | @NSCopying var URL: NSURL? |
Modified EKErrorCode [enum]
Declaration | Protocols | Introduction | Raw Value Type | |
---|---|---|---|---|
From | struct EKErrorCode { init(_ value: UInt32) var value: UInt32 } | -- | OS X 10.10 | -- |
To | enum EKErrorCode : Int { case EventNotMutable case NoCalendar case NoStartDate case NoEndDate case DatesInverted case InternalFailure case CalendarReadOnly case DurationGreaterThanRecurrence case AlarmGreaterThanRecurrence case StartDateTooFarInFuture case StartDateCollidesWithOtherOccurrence case ObjectBelongsToDifferentStore case InvitesCannotBeMoved case InvalidSpan case CalendarHasNoSource case CalendarSourceCannotBeModified case CalendarIsImmutable case SourceDoesNotAllowCalendarAddDelete case RecurringReminderRequiresDueDate case StructuredLocationsNotSupported case ReminderLocationsNotSupported case AlarmProximityNotSupported case CalendarDoesNotAllowEvents case CalendarDoesNotAllowReminders case SourceDoesNotAllowReminders case SourceDoesNotAllowEvents case PriorityIsInvalid case InvalidEntityType case ProcedureAlarmsNotMutable case EventStoreNotAuthorized case OSNotSupported case Last } extension EKErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError { } extension EKErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError { } | Equatable, ErrorType, Hashable, RawRepresentable | OS X 10.11 | Int |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorAlarmGreaterThanRecurrence | var EKErrorAlarmGreaterThanRecurrence: EKErrorCode { get } | OS X 10.10 |
To | AlarmGreaterThanRecurrence | case AlarmGreaterThanRecurrence | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorAlarmProximityNotSupported | var EKErrorAlarmProximityNotSupported: EKErrorCode { get } | OS X 10.10 |
To | AlarmProximityNotSupported | case AlarmProximityNotSupported | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorCalendarDoesNotAllowEvents | var EKErrorCalendarDoesNotAllowEvents: EKErrorCode { get } | OS X 10.10 |
To | CalendarDoesNotAllowEvents | case CalendarDoesNotAllowEvents | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorCalendarDoesNotAllowReminders | var EKErrorCalendarDoesNotAllowReminders: EKErrorCode { get } | OS X 10.10 |
To | CalendarDoesNotAllowReminders | case CalendarDoesNotAllowReminders | OS X 10.11 |
Modified EKErrorCode.CalendarHasNoSource
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorCalendarHasNoSource | var EKErrorCalendarHasNoSource: EKErrorCode { get } | OS X 10.10 |
To | CalendarHasNoSource | case CalendarHasNoSource | OS X 10.11 |
Modified EKErrorCode.CalendarIsImmutable
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorCalendarIsImmutable | var EKErrorCalendarIsImmutable: EKErrorCode { get } | OS X 10.10 |
To | CalendarIsImmutable | case CalendarIsImmutable | OS X 10.11 |
Modified EKErrorCode.CalendarReadOnly
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorCalendarReadOnly | var EKErrorCalendarReadOnly: EKErrorCode { get } | OS X 10.10 |
To | CalendarReadOnly | case CalendarReadOnly | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorCalendarSourceCannotBeModified | var EKErrorCalendarSourceCannotBeModified: EKErrorCode { get } | OS X 10.10 |
To | CalendarSourceCannotBeModified | case CalendarSourceCannotBeModified | OS X 10.11 |
Modified EKErrorCode.DatesInverted
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorDatesInverted | var EKErrorDatesInverted: EKErrorCode { get } | OS X 10.10 |
To | DatesInverted | case DatesInverted | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorDurationGreaterThanRecurrence | var EKErrorDurationGreaterThanRecurrence: EKErrorCode { get } | OS X 10.10 |
To | DurationGreaterThanRecurrence | case DurationGreaterThanRecurrence | OS X 10.11 |
Modified EKErrorCode.EventNotMutable
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorEventNotMutable | var EKErrorEventNotMutable: EKErrorCode { get } | OS X 10.10 |
To | EventNotMutable | case EventNotMutable | OS X 10.11 |
Modified EKErrorCode.EventStoreNotAuthorized
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorEventStoreNotAuthorized | var EKErrorEventStoreNotAuthorized: EKErrorCode { get } | OS X 10.10 |
To | EventStoreNotAuthorized | case EventStoreNotAuthorized | OS X 10.11 |
Modified EKErrorCode.InternalFailure
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorInternalFailure | var EKErrorInternalFailure: EKErrorCode { get } | OS X 10.10 |
To | InternalFailure | case InternalFailure | OS X 10.11 |
Modified EKErrorCode.InvalidEntityType
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorInvalidEntityType | var EKErrorInvalidEntityType: EKErrorCode { get } | OS X 10.10 |
To | InvalidEntityType | case InvalidEntityType | OS X 10.11 |
Modified EKErrorCode.InvalidSpan
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorInvalidSpan | var EKErrorInvalidSpan: EKErrorCode { get } | OS X 10.10 |
To | InvalidSpan | case InvalidSpan | OS X 10.11 |
Modified EKErrorCode.InvitesCannotBeMoved
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorInvitesCannotBeMoved | var EKErrorInvitesCannotBeMoved: EKErrorCode { get } | OS X 10.10 |
To | InvitesCannotBeMoved | case InvitesCannotBeMoved | OS X 10.11 |
Modified EKErrorCode.Last
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorLast | var EKErrorLast: EKErrorCode { get } | OS X 10.10 |
To | Last | case Last | OS X 10.11 |
Modified EKErrorCode.NoCalendar
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorNoCalendar | var EKErrorNoCalendar: EKErrorCode { get } | OS X 10.10 |
To | NoCalendar | case NoCalendar | OS X 10.11 |
Modified EKErrorCode.NoEndDate
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorNoEndDate | var EKErrorNoEndDate: EKErrorCode { get } | OS X 10.10 |
To | NoEndDate | case NoEndDate | OS X 10.11 |
Modified EKErrorCode.NoStartDate
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorNoStartDate | var EKErrorNoStartDate: EKErrorCode { get } | OS X 10.10 |
To | NoStartDate | case NoStartDate | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorObjectBelongsToDifferentStore | var EKErrorObjectBelongsToDifferentStore: EKErrorCode { get } | OS X 10.10 |
To | ObjectBelongsToDifferentStore | case ObjectBelongsToDifferentStore | OS X 10.11 |
Modified EKErrorCode.PriorityIsInvalid
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorPriorityIsInvalid | var EKErrorPriorityIsInvalid: EKErrorCode { get } | OS X 10.10 |
To | PriorityIsInvalid | case PriorityIsInvalid | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorProcedureAlarmsNotMutable | var EKErrorProcedureAlarmsNotMutable: EKErrorCode { get } | OS X 10.10 |
To | ProcedureAlarmsNotMutable | case ProcedureAlarmsNotMutable | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorRecurringReminderRequiresDueDate | var EKErrorRecurringReminderRequiresDueDate: EKErrorCode { get } | OS X 10.10 |
To | RecurringReminderRequiresDueDate | case RecurringReminderRequiresDueDate | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorReminderLocationsNotSupported | var EKErrorReminderLocationsNotSupported: EKErrorCode { get } | OS X 10.10 |
To | ReminderLocationsNotSupported | case ReminderLocationsNotSupported | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorSourceDoesNotAllowCalendarAddDelete | var EKErrorSourceDoesNotAllowCalendarAddDelete: EKErrorCode { get } | OS X 10.10 |
To | SourceDoesNotAllowCalendarAddDelete | case SourceDoesNotAllowCalendarAddDelete | OS X 10.11 |
Modified EKErrorCode.SourceDoesNotAllowEvents
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorSourceDoesNotAllowEvents | var EKErrorSourceDoesNotAllowEvents: EKErrorCode { get } | OS X 10.10 |
To | SourceDoesNotAllowEvents | case SourceDoesNotAllowEvents | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorSourceDoesNotAllowReminders | var EKErrorSourceDoesNotAllowReminders: EKErrorCode { get } | OS X 10.10 |
To | SourceDoesNotAllowReminders | case SourceDoesNotAllowReminders | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorStartDateCollidesWithOtherOccurrence | var EKErrorStartDateCollidesWithOtherOccurrence: EKErrorCode { get } | OS X 10.10 |
To | StartDateCollidesWithOtherOccurrence | case StartDateCollidesWithOtherOccurrence | OS X 10.11 |
Modified EKErrorCode.StartDateTooFarInFuture
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorStartDateTooFarInFuture | var EKErrorStartDateTooFarInFuture: EKErrorCode { get } | OS X 10.10 |
To | StartDateTooFarInFuture | case StartDateTooFarInFuture | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | EKErrorStructuredLocationsNotSupported | var EKErrorStructuredLocationsNotSupported: EKErrorCode { get } | OS X 10.10 |
To | StructuredLocationsNotSupported | case StructuredLocationsNotSupported | OS X 10.11 |
Modified EKEvent
Declaration | |
---|---|
From | class EKEvent : EKCalendarItem { init!(eventStore eventStore: EKEventStore!) -> EKEvent class func eventWithEventStore(_ eventStore: EKEventStore!) -> EKEvent! var eventIdentifier: String! { get } var allDay: Bool @NSCopying var startDate: NSDate! @NSCopying var endDate: NSDate! func compareStartDateWithEvent(_ other: EKEvent!) -> NSComparisonResult var organizer: EKParticipant! { get } var availability: EKEventAvailability var status: EKEventStatus { get } var isDetached: Bool { get } var occurrenceDate: NSDate! { get } func refresh() -> Bool var birthdayPersonUniqueID: String! { get } } |
To | class EKEvent : EKCalendarItem { init(eventStore eventStore: EKEventStore) class func eventWithEventStore(_ eventStore: EKEventStore) -> EKEvent var eventIdentifier: String { get } var allDay: Bool @NSCopying var startDate: NSDate @NSCopying var endDate: NSDate @NSCopying var structuredLocation: EKStructuredLocation? func compareStartDateWithEvent(_ other: EKEvent) -> NSComparisonResult var organizer: EKParticipant? { get } var availability: EKEventAvailability var status: EKEventStatus { get } var isDetached: Bool { get } var occurrenceDate: NSDate { get } func refresh() -> Bool var birthdayContactIdentifier: String? { get } var birthdayPersonID: Int { get } var birthdayPersonUniqueID: String? { get } } |
Modified EKEvent.birthdayPersonUniqueID
Declaration | Deprecation | |
---|---|---|
From | var birthdayPersonUniqueID: String! { get } | -- |
To | var birthdayPersonUniqueID: String? { get } | OS X 10.11 |
Declaration | |
---|---|
From | func compareStartDateWithEvent(_ other: EKEvent!) -> NSComparisonResult |
To | func compareStartDateWithEvent(_ other: EKEvent) -> NSComparisonResult |
Modified EKEvent.endDate
Declaration | |
---|---|
From | @NSCopying var endDate: NSDate! |
To | @NSCopying var endDate: NSDate |
Modified EKEvent.eventIdentifier
Declaration | |
---|---|
From | var eventIdentifier: String! { get } |
To | var eventIdentifier: String { get } |
Declaration | |
---|---|
From | init!(eventStore eventStore: EKEventStore!) -> EKEvent |
To | init(eventStore eventStore: EKEventStore) |
Modified EKEvent.occurrenceDate
Declaration | |
---|---|
From | var occurrenceDate: NSDate! { get } |
To | var occurrenceDate: NSDate { get } |
Modified EKEvent.organizer
Declaration | |
---|---|
From | var organizer: EKParticipant! { get } |
To | var organizer: EKParticipant? { get } |
Modified EKEvent.startDate
Declaration | |
---|---|
From | @NSCopying var startDate: NSDate! |
To | @NSCopying var startDate: NSDate |
Modified EKEventStore
Declaration | |
---|---|
From | class EKEventStore : NSObject { class func authorizationStatusForEntityType(_ entityType: EKEntityType) -> EKAuthorizationStatus init!(accessToEntityTypes entityTypes: EKEntityMask) init!() func requestAccessToEntityType(_ entityType: EKEntityType, completion completion: EKEventStoreRequestAccessCompletionHandler!) var eventStoreIdentifier: String! { get } func sources() -> [AnyObject]! func sourceWithIdentifier(_ identifier: String!) -> EKSource! func calendarsForEntityType(_ entityType: EKEntityType) -> [AnyObject]! var defaultCalendarForNewEvents: EKCalendar! { get } func defaultCalendarForNewReminders() -> EKCalendar! func calendarWithIdentifier(_ identifier: String!) -> EKCalendar! func saveCalendar(_ calendar: EKCalendar!, commit commit: Bool, error error: NSErrorPointer) -> Bool func removeCalendar(_ calendar: EKCalendar!, commit commit: Bool, error error: NSErrorPointer) -> Bool func calendarItemWithIdentifier(_ identifier: String!) -> EKCalendarItem! func calendarItemsWithExternalIdentifier(_ externalIdentifier: String!) -> [AnyObject]! func saveEvent(_ event: EKEvent!, span span: EKSpan, commit commit: Bool, error error: NSErrorPointer) -> Bool func removeEvent(_ event: EKEvent!, span span: EKSpan, commit commit: Bool, error error: NSErrorPointer) -> Bool func eventWithIdentifier(_ identifier: String!) -> EKEvent! func eventsMatchingPredicate(_ predicate: NSPredicate!) -> [AnyObject]! func enumerateEventsMatchingPredicate(_ predicate: NSPredicate!, usingBlock block: EKEventSearchCallback!) func predicateForEventsWithStartDate(_ startDate: NSDate!, endDate endDate: NSDate!, calendars calendars: [AnyObject]!) -> NSPredicate! func saveReminder(_ reminder: EKReminder!, commit commit: Bool, error error: NSErrorPointer) -> Bool func removeReminder(_ reminder: EKReminder!, commit commit: Bool, error error: NSErrorPointer) -> Bool func fetchRemindersMatchingPredicate(_ predicate: NSPredicate!, completion completion: (([AnyObject]!) -> Void)!) -> AnyObject! func cancelFetchRequest(_ fetchIdentifier: AnyObject!) func predicateForRemindersInCalendars(_ calendars: [AnyObject]!) -> NSPredicate! func predicateForIncompleteRemindersWithDueDateStarting(_ startDate: NSDate!, ending endDate: NSDate!, calendars calendars: [AnyObject]!) -> NSPredicate! func predicateForCompletedRemindersWithCompletionDateStarting(_ startDate: NSDate!, ending endDate: NSDate!, calendars calendars: [AnyObject]!) -> NSPredicate! func commit(_ error: NSErrorPointer) -> Bool func reset() func refreshSourcesIfNecessary() } |
To | class EKEventStore : NSObject { class func authorizationStatusForEntityType(_ entityType: EKEntityType) -> EKAuthorizationStatus init(accessToEntityTypes entityTypes: EKEntityMask) init() init(sources sources: [EKSource]) func requestAccessToEntityType(_ entityType: EKEntityType, completion completion: EKEventStoreRequestAccessCompletionHandler) var eventStoreIdentifier: String { get } var delegateSources: [EKSource] { get } var sources: [EKSource] { get } func sourceWithIdentifier(_ identifier: String) -> EKSource var calendars: [EKCalendar] { get } func calendarsForEntityType(_ entityType: EKEntityType) -> [EKCalendar] var defaultCalendarForNewEvents: EKCalendar { get } func defaultCalendarForNewReminders() -> EKCalendar func calendarWithIdentifier(_ identifier: String) -> EKCalendar? func saveCalendar(_ calendar: EKCalendar, commit commit: Bool) throws func removeCalendar(_ calendar: EKCalendar, commit commit: Bool) throws func calendarItemWithIdentifier(_ identifier: String) -> EKCalendarItem func calendarItemsWithExternalIdentifier(_ externalIdentifier: String) -> [EKCalendarItem] func saveEvent(_ event: EKEvent, span span: EKSpan) throws func removeEvent(_ event: EKEvent, span span: EKSpan) throws func saveEvent(_ event: EKEvent, span span: EKSpan, commit commit: Bool) throws func removeEvent(_ event: EKEvent, span span: EKSpan, commit commit: Bool) throws func eventWithIdentifier(_ identifier: String) -> EKEvent? func eventsMatchingPredicate(_ predicate: NSPredicate) -> [EKEvent] func enumerateEventsMatchingPredicate(_ predicate: NSPredicate, usingBlock block: EKEventSearchCallback) func predicateForEventsWithStartDate(_ startDate: NSDate, endDate endDate: NSDate, calendars calendars: [EKCalendar]?) -> NSPredicate func saveReminder(_ reminder: EKReminder, commit commit: Bool) throws func removeReminder(_ reminder: EKReminder, commit commit: Bool) throws func fetchRemindersMatchingPredicate(_ predicate: NSPredicate, completion completion: ([EKReminder]?) -> Void) -> AnyObject func cancelFetchRequest(_ fetchIdentifier: AnyObject) func predicateForRemindersInCalendars(_ calendars: [EKCalendar]?) -> NSPredicate func predicateForIncompleteRemindersWithDueDateStarting(_ startDate: NSDate?, ending endDate: NSDate?, calendars calendars: [EKCalendar]?) -> NSPredicate func predicateForCompletedRemindersWithCompletionDateStarting(_ startDate: NSDate?, ending endDate: NSDate?, calendars calendars: [EKCalendar]?) -> NSPredicate func commit() throws func reset() func refreshSourcesIfNecessary() } |
Declaration | |
---|---|
From | func calendarItemsWithExternalIdentifier(_ externalIdentifier: String!) -> [AnyObject]! |
To | func calendarItemsWithExternalIdentifier(_ externalIdentifier: String) -> [EKCalendarItem] |
Declaration | |
---|---|
From | func calendarItemWithIdentifier(_ identifier: String!) -> EKCalendarItem! |
To | func calendarItemWithIdentifier(_ identifier: String) -> EKCalendarItem |
Declaration | |
---|---|
From | func calendarsForEntityType(_ entityType: EKEntityType) -> [AnyObject]! |
To | func calendarsForEntityType(_ entityType: EKEntityType) -> [EKCalendar] |
Declaration | |
---|---|
From | func calendarWithIdentifier(_ identifier: String!) -> EKCalendar! |
To | func calendarWithIdentifier(_ identifier: String) -> EKCalendar? |
Declaration | |
---|---|
From | func cancelFetchRequest(_ fetchIdentifier: AnyObject!) |
To | func cancelFetchRequest(_ fetchIdentifier: AnyObject) |
Modified EKEventStore.commit() throws
Declaration | |
---|---|
From | func commit(_ error: NSErrorPointer) -> Bool |
To | func commit() throws |
Declaration | |
---|---|
From | var defaultCalendarForNewEvents: EKCalendar! { get } |
To | var defaultCalendarForNewEvents: EKCalendar { get } |
Declaration | |
---|---|
From | func defaultCalendarForNewReminders() -> EKCalendar! |
To | func defaultCalendarForNewReminders() -> EKCalendar |
Modified EKEventStore.enumerateEventsMatchingPredicate(_: NSPredicate, usingBlock: EKEventSearchCallback)
Declaration | |
---|---|
From | func enumerateEventsMatchingPredicate(_ predicate: NSPredicate!, usingBlock block: EKEventSearchCallback!) |
To | func enumerateEventsMatchingPredicate(_ predicate: NSPredicate, usingBlock block: EKEventSearchCallback) |
Declaration | |
---|---|
From | func eventsMatchingPredicate(_ predicate: NSPredicate!) -> [AnyObject]! |
To | func eventsMatchingPredicate(_ predicate: NSPredicate) -> [EKEvent] |
Modified EKEventStore.eventStoreIdentifier
Declaration | |
---|---|
From | var eventStoreIdentifier: String! { get } |
To | var eventStoreIdentifier: String { get } |
Declaration | |
---|---|
From | func eventWithIdentifier(_ identifier: String!) -> EKEvent! |
To | func eventWithIdentifier(_ identifier: String) -> EKEvent? |
Declaration | |
---|---|
From | func fetchRemindersMatchingPredicate(_ predicate: NSPredicate!, completion completion: (([AnyObject]!) -> Void)!) -> AnyObject! |
To | func fetchRemindersMatchingPredicate(_ predicate: NSPredicate, completion completion: ([EKReminder]?) -> Void) -> AnyObject |
Modified EKEventStore.init()
Declaration | |
---|---|
From | init!() |
To | init() |
Declaration | |
---|---|
From | func predicateForCompletedRemindersWithCompletionDateStarting(_ startDate: NSDate!, ending endDate: NSDate!, calendars calendars: [AnyObject]!) -> NSPredicate! |
To | func predicateForCompletedRemindersWithCompletionDateStarting(_ startDate: NSDate?, ending endDate: NSDate?, calendars calendars: [EKCalendar]?) -> NSPredicate |
Declaration | |
---|---|
From | func predicateForEventsWithStartDate(_ startDate: NSDate!, endDate endDate: NSDate!, calendars calendars: [AnyObject]!) -> NSPredicate! |
To | func predicateForEventsWithStartDate(_ startDate: NSDate, endDate endDate: NSDate, calendars calendars: [EKCalendar]?) -> NSPredicate |
Declaration | |
---|---|
From | func predicateForIncompleteRemindersWithDueDateStarting(_ startDate: NSDate!, ending endDate: NSDate!, calendars calendars: [AnyObject]!) -> NSPredicate! |
To | func predicateForIncompleteRemindersWithDueDateStarting(_ startDate: NSDate?, ending endDate: NSDate?, calendars calendars: [EKCalendar]?) -> NSPredicate |
Declaration | |
---|---|
From | func predicateForRemindersInCalendars(_ calendars: [AnyObject]!) -> NSPredicate! |
To | func predicateForRemindersInCalendars(_ calendars: [EKCalendar]?) -> NSPredicate |
Declaration | |
---|---|
From | func removeCalendar(_ calendar: EKCalendar!, commit commit: Bool, error error: NSErrorPointer) -> Bool |
To | func removeCalendar(_ calendar: EKCalendar, commit commit: Bool) throws |
Declaration | |
---|---|
From | func removeEvent(_ event: EKEvent!, span span: EKSpan, commit commit: Bool, error error: NSErrorPointer) -> Bool |
To | func removeEvent(_ event: EKEvent, span span: EKSpan, commit commit: Bool) throws |
Declaration | |
---|---|
From | func removeReminder(_ reminder: EKReminder!, commit commit: Bool, error error: NSErrorPointer) -> Bool |
To | func removeReminder(_ reminder: EKReminder, commit commit: Bool) throws |
Declaration | |
---|---|
From | func requestAccessToEntityType(_ entityType: EKEntityType, completion completion: EKEventStoreRequestAccessCompletionHandler!) |
To | func requestAccessToEntityType(_ entityType: EKEntityType, completion completion: EKEventStoreRequestAccessCompletionHandler) |
Declaration | |
---|---|
From | func saveCalendar(_ calendar: EKCalendar!, commit commit: Bool, error error: NSErrorPointer) -> Bool |
To | func saveCalendar(_ calendar: EKCalendar, commit commit: Bool) throws |
Declaration | |
---|---|
From | func saveEvent(_ event: EKEvent!, span span: EKSpan, commit commit: Bool, error error: NSErrorPointer) -> Bool |
To | func saveEvent(_ event: EKEvent, span span: EKSpan, commit commit: Bool) throws |
Declaration | |
---|---|
From | func saveReminder(_ reminder: EKReminder!, commit commit: Bool, error error: NSErrorPointer) -> Bool |
To | func saveReminder(_ reminder: EKReminder, commit commit: Bool) throws |
Declaration | |
---|---|
From | func sourceWithIdentifier(_ identifier: String!) -> EKSource! |
To | func sourceWithIdentifier(_ identifier: String) -> EKSource |
Modified EKObject
Declaration | |
---|---|
From | class EKObject : NSObject { func hasChanges() -> Bool func isNew() -> Bool func reset() func rollback() func refresh() -> Bool } |
To | class EKObject : NSObject { var hasChanges: Bool { get } var new: Bool { get } func reset() func rollback() func refresh() -> Bool } |
Modified EKParticipant
Declaration | |
---|---|
From | class EKParticipant : EKObject, NSCopying { var URL: NSURL! { get } var name: String! { get } var participantStatus: EKParticipantStatus { get } var participantRole: EKParticipantRole { get } var participantType: EKParticipantType { get } var isCurrentUser: Bool { get } func ABPersonInAddressBook(_ addressBook: ABAddressBook!) -> ABPerson! } |
To | class EKParticipant : EKObject, NSCopying { var URL: NSURL { get } var name: String? { get } var participantStatus: EKParticipantStatus { get } var participantRole: EKParticipantRole { get } var participantType: EKParticipantType { get } var currentUser: Bool { get } var contactPredicate: NSPredicate { get } func ABPersonInAddressBook(_ addressBook: ABAddressBook) -> ABPerson? } |
Declaration | Deprecation | |
---|---|---|
From | func ABPersonInAddressBook(_ addressBook: ABAddressBook!) -> ABPerson! | -- |
To | func ABPersonInAddressBook(_ addressBook: ABAddressBook) -> ABPerson? | OS X 10.11 |
Modified EKParticipant.name
Declaration | |
---|---|
From | var name: String! { get } |
To | var name: String? { get } |
Modified EKParticipant.URL
Declaration | |
---|---|
From | var URL: NSURL! { get } |
To | var URL: NSURL { get } |
Modified EKRecurrenceDayOfWeek
Declaration | |
---|---|
From | class EKRecurrenceDayOfWeek : NSObject, NSCopying { init!(_ dayOfTheWeek: Int) -> EKRecurrenceDayOfWeek class func dayOfWeek(_ dayOfTheWeek: Int) -> EKRecurrenceDayOfWeek! init!(_ dayOfTheWeek: Int, weekNumber weekNumber: Int) -> EKRecurrenceDayOfWeek class func dayOfWeek(_ dayOfTheWeek: Int, weekNumber weekNumber: Int) -> EKRecurrenceDayOfWeek! init!(dayOfTheWeek dayOfTheWeek: Int, weekNumber weekNumber: Int) var dayOfTheWeek: Int { get } var weekNumber: Int { get } } |
To | class EKRecurrenceDayOfWeek : NSObject, NSCopying { convenience init(_ dayOfTheWeek: EKWeekday) class func dayOfWeek(_ dayOfTheWeek: EKWeekday) -> Self convenience init(_ dayOfTheWeek: EKWeekday, weekNumber weekNumber: Int) class func dayOfWeek(_ dayOfTheWeek: EKWeekday, weekNumber weekNumber: Int) -> Self init(dayOfTheWeek dayOfTheWeek: EKWeekday, weekNumber weekNumber: Int) var dayOfTheWeek: EKWeekday { get } var weekNumber: Int { get } } |
Modified EKRecurrenceDayOfWeek.dayOfTheWeek
Declaration | |
---|---|
From | var dayOfTheWeek: Int { get } |
To | var dayOfTheWeek: EKWeekday { get } |
Declaration | |
---|---|
From | init!(_ dayOfTheWeek: Int) -> EKRecurrenceDayOfWeek |
To | convenience init(_ dayOfTheWeek: EKWeekday) |
Declaration | |
---|---|
From | init!(_ dayOfTheWeek: Int, weekNumber weekNumber: Int) -> EKRecurrenceDayOfWeek |
To | convenience init(_ dayOfTheWeek: EKWeekday, weekNumber weekNumber: Int) |
Declaration | |
---|---|
From | init!(dayOfTheWeek dayOfTheWeek: Int, weekNumber weekNumber: Int) |
To | init(dayOfTheWeek dayOfTheWeek: EKWeekday, weekNumber weekNumber: Int) |
Modified EKRecurrenceEnd
Declaration | |
---|---|
From | class EKRecurrenceEnd : NSObject, NSCopying { class func recurrenceEndWithEndDate(_ endDate: NSDate!) -> AnyObject! class func recurrenceEndWithOccurrenceCount(_ occurrenceCount: Int) -> AnyObject! var endDate: NSDate! { get } var occurrenceCount: Int { get } } |
To | class EKRecurrenceEnd : NSObject, NSCopying { convenience init(endDate endDate: NSDate) class func recurrenceEndWithEndDate(_ endDate: NSDate) -> Self convenience init(occurrenceCount occurrenceCount: Int) class func recurrenceEndWithOccurrenceCount(_ occurrenceCount: Int) -> Self var endDate: NSDate? { get } var occurrenceCount: Int { get } } |
Modified EKRecurrenceEnd.endDate
Declaration | |
---|---|
From | var endDate: NSDate! { get } |
To | var endDate: NSDate? { get } |
Name | Declaration | Introduction | |
---|---|---|---|
From | recurrenceEndWithEndDate(_:) | class func recurrenceEndWithEndDate(_ endDate: NSDate!) -> AnyObject! | OS X 10.10 |
To | init(endDate:) | convenience init(endDate endDate: NSDate) | OS X 10.11 |
Name | Declaration | Introduction | |
---|---|---|---|
From | recurrenceEndWithOccurrenceCount(_:) | class func recurrenceEndWithOccurrenceCount(_ occurrenceCount: Int) -> AnyObject! | OS X 10.10 |
To | init(occurrenceCount:) | convenience init(occurrenceCount occurrenceCount: Int) | OS X 10.11 |
Modified EKRecurrenceRule
Declaration | |
---|---|
From | class EKRecurrenceRule : EKObject, NSCopying { init!(recurrenceWithFrequency type: EKRecurrenceFrequency, interval interval: Int, end end: EKRecurrenceEnd!) 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!) var calendarIdentifier: String! { get } @NSCopying var recurrenceEnd: EKRecurrenceEnd! var frequency: EKRecurrenceFrequency { get } var interval: Int { get } var firstDayOfTheWeek: Int { get } var daysOfTheWeek: [AnyObject]! { get } var daysOfTheMonth: [AnyObject]! { get } var daysOfTheYear: [AnyObject]! { get } var weeksOfTheYear: [AnyObject]! { get } var monthsOfTheYear: [AnyObject]! { get } var setPositions: [AnyObject]! { get } } |
To | class EKRecurrenceRule : EKObject, NSCopying { init(recurrenceWithFrequency type: EKRecurrenceFrequency, interval interval: Int, end end: EKRecurrenceEnd?) init(recurrenceWithFrequency type: EKRecurrenceFrequency, interval interval: Int, daysOfTheWeek days: [EKRecurrenceDayOfWeek]?, daysOfTheMonth monthDays: [NSNumber]?, monthsOfTheYear months: [NSNumber]?, weeksOfTheYear weeksOfTheYear: [NSNumber]?, daysOfTheYear daysOfTheYear: [NSNumber]?, setPositions setPositions: [NSNumber]?, end end: EKRecurrenceEnd?) var calendarIdentifier: String { get } @NSCopying var recurrenceEnd: EKRecurrenceEnd? var frequency: EKRecurrenceFrequency { get } var interval: Int { get } var firstDayOfTheWeek: Int { get } var daysOfTheWeek: [EKRecurrenceDayOfWeek]? { get } var daysOfTheMonth: [NSNumber]? { get } var daysOfTheYear: [NSNumber]? { get } var weeksOfTheYear: [NSNumber]? { get } var monthsOfTheYear: [NSNumber]? { get } var setPositions: [NSNumber]? { get } } |
Modified EKRecurrenceRule.calendarIdentifier
Declaration | |
---|---|
From | var calendarIdentifier: String! { get } |
To | var calendarIdentifier: String { get } |
Modified EKRecurrenceRule.daysOfTheMonth
Declaration | |
---|---|
From | var daysOfTheMonth: [AnyObject]! { get } |
To | var daysOfTheMonth: [NSNumber]? { get } |
Modified EKRecurrenceRule.daysOfTheWeek
Declaration | |
---|---|
From | var daysOfTheWeek: [AnyObject]! { get } |
To | var daysOfTheWeek: [EKRecurrenceDayOfWeek]? { get } |
Modified EKRecurrenceRule.daysOfTheYear
Declaration | |
---|---|
From | var daysOfTheYear: [AnyObject]! { get } |
To | var daysOfTheYear: [NSNumber]? { get } |
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: [EKRecurrenceDayOfWeek]?, daysOfTheMonth monthDays: [NSNumber]?, monthsOfTheYear months: [NSNumber]?, weeksOfTheYear weeksOfTheYear: [NSNumber]?, daysOfTheYear daysOfTheYear: [NSNumber]?, setPositions setPositions: [NSNumber]?, end 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 EKRecurrenceRule.monthsOfTheYear
Declaration | |
---|---|
From | var monthsOfTheYear: [AnyObject]! { get } |
To | var monthsOfTheYear: [NSNumber]? { get } |
Modified EKRecurrenceRule.recurrenceEnd
Declaration | |
---|---|
From | @NSCopying var recurrenceEnd: EKRecurrenceEnd! |
To | @NSCopying var recurrenceEnd: EKRecurrenceEnd? |
Modified EKRecurrenceRule.setPositions
Declaration | |
---|---|
From | var setPositions: [AnyObject]! { get } |
To | var setPositions: [NSNumber]? { get } |
Modified EKRecurrenceRule.weeksOfTheYear
Declaration | |
---|---|
From | var weeksOfTheYear: [AnyObject]! { get } |
To | var weeksOfTheYear: [NSNumber]? { get } |
Modified EKReminder
Declaration | |
---|---|
From | class EKReminder : EKCalendarItem { init!(eventStore eventStore: EKEventStore!) -> EKReminder class func reminderWithEventStore(_ eventStore: EKEventStore!) -> EKReminder! @NSCopying var startDateComponents: NSDateComponents! @NSCopying var dueDateComponents: NSDateComponents! var completed: Bool @NSCopying var completionDate: NSDate! var priority: Int } |
To | class EKReminder : EKCalendarItem { init(eventStore eventStore: EKEventStore) class func reminderWithEventStore(_ eventStore: EKEventStore) -> EKReminder @NSCopying var startDateComponents: NSDateComponents? @NSCopying var dueDateComponents: NSDateComponents? var completed: Bool @NSCopying var completionDate: NSDate? var priority: Int } |
Modified EKReminder.completionDate
Declaration | |
---|---|
From | @NSCopying var completionDate: NSDate! |
To | @NSCopying var completionDate: NSDate? |
Modified EKReminder.dueDateComponents
Declaration | |
---|---|
From | @NSCopying var dueDateComponents: NSDateComponents! |
To | @NSCopying var dueDateComponents: NSDateComponents? |
Declaration | |
---|---|
From | init!(eventStore eventStore: EKEventStore!) -> EKReminder |
To | init(eventStore eventStore: EKEventStore) |
Modified EKReminder.startDateComponents
Declaration | |
---|---|
From | @NSCopying var startDateComponents: NSDateComponents! |
To | @NSCopying var startDateComponents: NSDateComponents? |
Modified EKSource
Declaration | |
---|---|
From | class EKSource : EKObject { var sourceIdentifier: String! { get } var sourceType: EKSourceType { get } var title: String! { get } func calendarsForEntityType(_ entityType: EKEntityType) -> Set<NSObject>! } |
To | class EKSource : EKObject { var sourceIdentifier: String { get } var sourceType: EKSourceType { get } var title: String { get } var calendars: Set<EKCalendar> { get } func calendarsForEntityType(_ entityType: EKEntityType) -> Set<EKCalendar> } |
Declaration | |
---|---|
From | func calendarsForEntityType(_ entityType: EKEntityType) -> Set<NSObject>! |
To | func calendarsForEntityType(_ entityType: EKEntityType) -> Set<EKCalendar> |
Modified EKSource.sourceIdentifier
Declaration | |
---|---|
From | var sourceIdentifier: String! { get } |
To | var sourceIdentifier: String { get } |
Modified EKSource.title
Declaration | |
---|---|
From | var title: String! { get } |
To | var title: String { get } |
Modified EKStructuredLocation
Declaration | |
---|---|
From | class EKStructuredLocation : EKObject, NSCopying { init!(title title: String!) -> EKStructuredLocation class func locationWithTitle(_ title: String!) -> EKStructuredLocation! var title: String! var geoLocation: CLLocation! var radius: Double } |
To | class EKStructuredLocation : EKObject, NSCopying { convenience init(title title: String) class func locationWithTitle(_ title: String) -> Self convenience init(mapItem mapItem: MKMapItem) class func locationWithMapItem(_ mapItem: MKMapItem) -> Self var title: String var geoLocation: CLLocation? var radius: Double } |
Modified EKStructuredLocation.geoLocation
Declaration | |
---|---|
From | var geoLocation: CLLocation! |
To | var geoLocation: CLLocation? |
Declaration | |
---|---|
From | init!(title title: String!) -> EKStructuredLocation |
To | convenience init(title title: String) |
Modified EKStructuredLocation.title
Declaration | |
---|---|
From | var title: String! |
To | var title: String |
Modified EKEventSearchCallback
Declaration | |
---|---|
From | typealias EKEventSearchCallback = (EKEvent!, UnsafeMutablePointer<ObjCBool>) -> Void |
To | typealias EKEventSearchCallback = (EKEvent, UnsafeMutablePointer<ObjCBool>) -> Void |
Declaration | |
---|---|
From | typealias EKEventStoreRequestAccessCompletionHandler = (Bool, NSError!) -> Void |
To | typealias EKEventStoreRequestAccessCompletionHandler = (Bool, NSError?) -> Void |