EventKit Changes for Objective-C
EventKit
EKCalendar.h
Modified EKCalendar.source
Declaration | |
---|---|
From | @property(nonatomic, retain) EKSource *source |
To | @property(nonatomic, strong, nonnull) EKSource *source |
EKCalendarItem.h
Modified EKCalendarItem.alarms
Declaration | |
---|---|
From | @property(nonatomic, copy) NSArray *alarms |
To | @property(nonatomic, copy, nullable) NSArray<EKAlarm *> *alarms |
Modified EKCalendarItem.attendees
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *attendees |
To | @property(nonatomic, readonly, nullable) NSArray<__kindof EKParticipant *> *attendees |
Modified EKCalendarItem.calendar
Declaration | |
---|---|
From | @property(nonatomic, retain) EKCalendar *calendar |
To | @property(nonatomic, strong, nonnull) EKCalendar *calendar |
Modified EKCalendarItem.recurrenceRules
Declaration | |
---|---|
From | @property(nonatomic, copy) NSArray *recurrenceRules |
To | @property(nonatomic, copy, nullable) NSArray<EKRecurrenceRule *> *recurrenceRules |
EKError.h
EKEvent.h
Added EKEvent.occurrenceDate
EKEventStore.h
Added -[EKEventStore init]
Declaration | |
---|---|
From | - (NSArray *)calendarItemsWithExternalIdentifier:(NSString *)externalIdentifier |
To | - (NSArray<EKCalendarItem *> * _Nonnull)calendarItemsWithExternalIdentifier:(NSString * _Nonnull)externalIdentifier |
Modified EKEventStore.calendars
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *calendars |
To | @property(nonatomic, readonly, nonnull) NSArray<EKCalendar *> *calendars |
Declaration | |
---|---|
From | - (NSArray *)calendarsForEntityType:(EKEntityType)entityType |
To | - (NSArray<EKCalendar *> * _Nonnull)calendarsForEntityType:(EKEntityType)entityType |
Declaration | |
---|---|
From | - (NSArray *)eventsMatchingPredicate:(NSPredicate *)predicate |
To | - (NSArray<EKEvent *> * _Nonnull)eventsMatchingPredicate:(NSPredicate * _Nonnull)predicate |
Declaration | |
---|---|
From | - (id)fetchRemindersMatchingPredicate:(NSPredicate *)predicate completion:(void (^)(NSArray *reminders))completion |
To | - (id _Nonnull)fetchRemindersMatchingPredicate:(NSPredicate * _Nonnull)predicate completion:(void (^ _Nonnull)(NSArray<EKReminder *> * _Nullable reminders))completion |
Declaration | |
---|---|
From | - (NSPredicate *)predicateForCompletedRemindersWithCompletionDateStarting:(NSDate *)startDate ending:(NSDate *)endDate calendars:(NSArray *)calendars |
To | - (NSPredicate * _Nonnull)predicateForCompletedRemindersWithCompletionDateStarting:(NSDate * _Nullable)startDate ending:(NSDate * _Nullable)endDate calendars:(NSArray<EKCalendar *> * _Nullable)calendars |
Declaration | |
---|---|
From | - (NSPredicate *)predicateForEventsWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate calendars:(NSArray *)calendars |
To | - (NSPredicate * _Nonnull)predicateForEventsWithStartDate:(NSDate * _Nonnull)startDate endDate:(NSDate * _Nonnull)endDate calendars:(NSArray<EKCalendar *> * _Nullable)calendars |
Declaration | |
---|---|
From | - (NSPredicate *)predicateForIncompleteRemindersWithDueDateStarting:(NSDate *)startDate ending:(NSDate *)endDate calendars:(NSArray *)calendars |
To | - (NSPredicate * _Nonnull)predicateForIncompleteRemindersWithDueDateStarting:(NSDate * _Nullable)startDate ending:(NSDate * _Nullable)endDate calendars:(NSArray<EKCalendar *> * _Nullable)calendars |
Declaration | |
---|---|
From | - (NSPredicate *)predicateForRemindersInCalendars:(NSArray *)calendars |
To | - (NSPredicate * _Nonnull)predicateForRemindersInCalendars:(NSArray<EKCalendar *> * _Nullable)calendars |
Modified EKEventStore.sources
Declaration | |
---|---|
From | - (NSArray *)sources |
To | @property(nonatomic, readonly, nonnull) NSArray<EKSource *> *sources |
EKObject.h
Removed -[EKObject isNew]
Added EKObject.new
Modified EKObject.hasChanges
Declaration | |
---|---|
From | - (BOOL)hasChanges |
To | @property(nonatomic, readonly) BOOL hasChanges |
EKParticipant.h
Removed EKParticipant.isCurrentUser
EKRecurrenceDayOfWeek.h
Modified EKRecurrenceDayOfWeek.dayOfTheWeek
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSInteger dayOfTheWeek |
To | @property(nonatomic, readonly) EKWeekday dayOfTheWeek |
Modified +[EKRecurrenceDayOfWeek dayOfWeek:]
Declaration | |
---|---|
From | + (EKRecurrenceDayOfWeek *)dayOfWeek:(NSInteger)dayOfTheWeek |
To | + (instancetype _Nonnull)dayOfWeek:(EKWeekday)dayOfTheWeek |
Declaration | |
---|---|
From | + (EKRecurrenceDayOfWeek *)dayOfWeek:(NSInteger)dayOfTheWeek weekNumber:(NSInteger)weekNumber |
To | + (instancetype _Nonnull)dayOfWeek:(EKWeekday)dayOfTheWeek weekNumber:(NSInteger)weekNumber |
Declaration | |
---|---|
From | - (id)initWithDayOfTheWeek:(NSInteger)dayOfTheWeek weekNumber:(NSInteger)weekNumber |
To | - (id _Nonnull)initWithDayOfTheWeek:(EKWeekday)dayOfTheWeek weekNumber:(NSInteger)weekNumber |
EKRecurrenceEnd.h
Declaration | |
---|---|
From | + (id)recurrenceEndWithEndDate:(NSDate *)endDate |
To | + (instancetype _Nonnull)recurrenceEndWithEndDate:(NSDate * _Nonnull)endDate |
Declaration | |
---|---|
From | + (id)recurrenceEndWithOccurrenceCount:(NSUInteger)occurrenceCount |
To | + (instancetype _Nonnull)recurrenceEndWithOccurrenceCount:(NSUInteger)occurrenceCount |
EKRecurrenceRule.h
Modified EKRecurrenceRule.daysOfTheMonth
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *daysOfTheMonth |
To | @property(nonatomic, readonly, nullable) NSArray<NSNumber *> *daysOfTheMonth |
Modified EKRecurrenceRule.daysOfTheWeek
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *daysOfTheWeek |
To | @property(nonatomic, readonly, nullable) NSArray<EKRecurrenceDayOfWeek *> *daysOfTheWeek |
Modified EKRecurrenceRule.daysOfTheYear
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *daysOfTheYear |
To | @property(nonatomic, readonly, nullable) NSArray<NSNumber *> *daysOfTheYear |
Declaration | |
---|---|
From | - (id)initRecurrenceWithFrequency:(EKRecurrenceFrequency)type interval:(NSInteger)interval daysOfTheWeek:(NSArray *)days daysOfTheMonth:(NSArray *)monthDays monthsOfTheYear:(NSArray *)months weeksOfTheYear:(NSArray *)weeksOfTheYear daysOfTheYear:(NSArray *)daysOfTheYear setPositions:(NSArray *)setPositions end:(EKRecurrenceEnd *)end |
To | - (instancetype _Nonnull)initRecurrenceWithFrequency:(EKRecurrenceFrequency)type interval:(NSInteger)interval daysOfTheWeek:(NSArray<EKRecurrenceDayOfWeek *> * _Nullable)days daysOfTheMonth:(NSArray<NSNumber *> * _Nullable)monthDays monthsOfTheYear:(NSArray<NSNumber *> * _Nullable)months weeksOfTheYear:(NSArray<NSNumber *> * _Nullable)weeksOfTheYear daysOfTheYear:(NSArray<NSNumber *> * _Nullable)daysOfTheYear setPositions:(NSArray<NSNumber *> * _Nullable)setPositions end:(EKRecurrenceEnd * _Nullable)end |
Declaration | |
---|---|
From | - (id)initRecurrenceWithFrequency:(EKRecurrenceFrequency)type interval:(NSInteger)interval end:(EKRecurrenceEnd *)end |
To | - (instancetype _Nonnull)initRecurrenceWithFrequency:(EKRecurrenceFrequency)type interval:(NSInteger)interval end:(EKRecurrenceEnd * _Nullable)end |
Modified EKRecurrenceRule.monthsOfTheYear
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *monthsOfTheYear |
To | @property(nonatomic, readonly, nullable) NSArray<NSNumber *> *monthsOfTheYear |
Modified EKRecurrenceRule.setPositions
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *setPositions |
To | @property(nonatomic, readonly, nullable) NSArray<NSNumber *> *setPositions |
Modified EKRecurrenceRule.weeksOfTheYear
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *weeksOfTheYear |
To | @property(nonatomic, readonly, nullable) NSArray<NSNumber *> *weeksOfTheYear |
EKReminder.h
Modified EKReminder.priority
Declaration | |
---|---|
From | @property(nonatomic) NSInteger priority |
To | @property(nonatomic) NSUInteger priority |
EKSource.h
Modified EKSource.calendars
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSSet *calendars |
To | @property(nonatomic, readonly, nonnull) NSSet<EKCalendar *> *calendars |
Modified -[EKSource calendarsForEntityType:]
Declaration | |
---|---|
From | - (NSSet *)calendarsForEntityType:(EKEntityType)entityType |
To | - (NSSet<EKCalendar *> * _Nonnull)calendarsForEntityType:(EKEntityType)entityType |
EKStructuredLocation.h
Modified EKStructuredLocation.geoLocation
Declaration | |
---|---|
From | @property(nonatomic, retain) CLLocation *geoLocation |
To | @property(nonatomic, strong, nullable) CLLocation *geoLocation |
Declaration | |
---|---|
From | + (EKStructuredLocation *)locationWithTitle:(NSString *)title |
To | + (instancetype _Nonnull)locationWithTitle:(NSString * _Nonnull)title |
Modified EKStructuredLocation.title
Declaration | |
---|---|
From | @property(nonatomic, retain) NSString *title |
To | @property(nonatomic, strong, nonnull) NSString *title |
EKTypes.h
Added EKAlarmType
Added EKAlarmTypeAudio
Added EKAlarmTypeDisplay
Added EKAlarmTypeEmail
Added EKAlarmTypeProcedure
Added EKReminderPriority
Added EKReminderPriorityHigh
Added EKReminderPriorityLow
Added EKReminderPriorityMedium
Added EKReminderPriorityNone
Added EKWeekday
Added EKWeekdayFriday
Added EKWeekdayMonday
Added EKWeekdaySaturday
Added EKWeekdaySunday
Added EKWeekdayThursday
Added EKWeekdayTuesday
Added EKWeekdayWednesday
Modified EKFriday
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified EKMonday
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified EKSaturday
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified EKSunday
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified EKThursday
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified EKTuesday
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified EKWednesday
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |