-
Notifications
You must be signed in to change notification settings - Fork 507
EventKit macOS xcode14.0 rc
Israel Soto edited this page Sep 7, 2022
·
1 revision
#EventKit.framework
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKCalendarItem.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKCalendarItem.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKCalendarItem.h 2022-08-05 12:41:17.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKCalendarItem.h 2022-08-03 21:06:55.000000000 -0500
@@ -68,7 +68,7 @@
/*!
@property title
@abstract The title of this calendar item.
- @discussion This will be an empty string for new calendar items until you set it.
+ @discussion This will be nill for new calendar items until you set it.
*/
@property(nonatomic, copy, null_unspecified) NSString *title;
@property(nonatomic, copy, nullable) NSString *location;
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKError.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKError.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKError.h 2022-08-05 15:53:46.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKError.h 2022-08-03 21:06:55.000000000 -0500
@@ -98,7 +98,6 @@
EKErrorSourceMismatch,
EKErrorNotificationCollectionMismatch,
EKErrorNotificationSavedWithoutCollection,
- EKErrorReminderAlarmContainsEmailOrUrl,
EKErrorLast // used internally
};
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKEvent.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKEvent.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKEvent.h 2022-08-05 15:53:46.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKEvent.h 2022-08-03 21:06:55.000000000 -0500
@@ -82,10 +82,8 @@
@abstract The end date for the event.
@discussion This will be nil for new events until you set it.
*/
-
@property(null_unspecified, nonatomic, copy) NSDate *endDate;
-
/*!
@property structuredLocation
@abstract Allows you to set a structured location (a location with a potential geo-coordinate) on an
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKEventStore.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKEventStore.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKEventStore.h 2022-08-05 12:41:17.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKEventStore.h 2022-08-03 21:06:55.000000000 -0500
@@ -75,7 +75,7 @@
@abstract Creates a new event store that only includes items and calendars for a subset of sources.
@param sources The sources you want this event store to recognize. This may include delegate sources.
*/
-- (instancetype)initWithSources:(NSArray<EKSource *> *)sources NS_AVAILABLE(10_11, 16_0);
+- (instancetype)initWithSources:(NSArray<EKSource *> *)sources NS_AVAILABLE(10_11, NA);
typedef void(^EKEventStoreRequestAccessCompletionHandler)(BOOL granted, NSError * __nullable error);
@@ -105,6 +105,10 @@
/*!
@property delegateSources
@abstract Returns an unordered array of sources for all available delegates.
+ @discussion By default, delegates are not included in an event store's sources. To work with delegates,
+ you can create a new event store and pass in the sources, including sources returned from this
+ method, that you're interested in.
+ @see initWithSources:
*/
@property (nonatomic, readonly) NSArray<EKSource *> *delegateSources NS_AVAILABLE(10_11, 12_0);
@@ -286,6 +290,8 @@
@method eventsMatchingPredicate:
@abstract Searches for events that match the given predicate.
@discussion This call executes a search for the events indicated by the predicate passed to it.
+ It only includes events which have been committed (e.g. those saved using
+ saveEvent:commit:NO are not included until commit: is called.)
It is synchronous. If you want async behavior, you should either use dispatch_async or
NSOperation to run the query someplace other than the main thread, and then funnel the
@@ -301,7 +307,8 @@
@method enumerateEventsMatchingPredicate:usingBlock:
@abstract Searches for events that match the given predicate.
@discussion This call executes a search for the events indicated by the predicate passed to it, calling
- the block specified in the callback parameter for each event.
+ the block specified in the callback parameter for each event. It only includes events which
+ have been committed (e.g. those saved using saveEvent:commit:NO are not included until commit: is called.)
This method is synchronous. If you want async behavior, you should either use dispatch_async or
NSOperation to run the query someplace other than the main thread.
@@ -374,6 +381,8 @@
@discussion This method fetches reminders asynchronously and returns a value which can be
used in cancelFetchRequest: to cancel the request later if desired. The completion
block is called with an array of reminders that match the given predicate (or potentially nil).
+ This only includes reminders which have been committed (e.g. those saved using
+ saveReminder:commit:NO are not included until commit: is called.)
*/
- (id)fetchRemindersMatchingPredicate:(NSPredicate *)predicate completion:(void (^)(NSArray<EKReminder *> * __nullable reminders))completion NS_AVAILABLE(10_8, 6_0);
@@ -450,7 +459,8 @@
@discussion You can call this method to pull new data from remote sources.
This only updates the event store's data. If you want to update your objects after
refreshing the sources, you should call refresh on each of them afterwards.
- On iOS and macOS, this sync only occurs if deemed necessary.
+ On iOS, this sync only occurs if deemed necessary.
+ On OS X, this will occur regardless of necessity, but may change in a future release to match the iOS behavior.
On WatchOS, initiating sync is not available. Sync will occur automatically with the paired iOS device.
*/
- (void)refreshSourcesIfNecessary NS_AVAILABLE(10_8, 5_0) __WATCHOS_PROHIBITED;
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKObject.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKObject.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKObject.h 2022-08-05 12:41:17.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKObject.h 2022-02-12 12:02:42.000000000 -0600
@@ -7,7 +7,7 @@
#import <Foundation/Foundation.h>
-NS_CLASS_AVAILABLE(10_8, 13_0)
+
@interface EKObject : NSObject
// Returns YES if this object or any sub-object (alarm, etc.) has uncommitted changes.
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKParticipant.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKParticipant.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKParticipant.h 2022-08-05 12:41:17.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKParticipant.h 2022-08-03 21:06:55.000000000 -0500
@@ -92,9 +92,7 @@
if a match can be found based on email address in the address book
passed. If we cannot find the participant, nil is returned.
*/
-
- (nullable ABRecordRef)ABRecordWithAddressBook:(ABAddressBookRef)addressBook API_AVAILABLE(ios(4.0), macCatalyst(14.0)) API_DEPRECATED("Use contactPredicate instead", ios(4.0, 9.0)) CF_RETURNS_NOT_RETAINED;
-
#endif
#else
/*!
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKSource.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKSource.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKSource.h 2022-08-05 12:41:17.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EKSource.h 2022-08-03 21:06:55.000000000 -0500
@@ -33,12 +33,6 @@
*/
- (NSSet<EKCalendar *> *)calendarsForEntityType:(EKEntityType)entityType NS_AVAILABLE(10_8, 6_0);
-/*!
- @property isDelegate
- @abstract Returns YES if this EKSource represents an account delegated by another user.
- */
-@property (nonatomic, readonly, assign) BOOL isDelegate NS_AVAILABLE(13_0, 16_0);
-
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EventKitDefines.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EventKitDefines.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EventKitDefines.h 2022-08-05 12:41:17.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/EventKit.framework/Headers/EventKitDefines.h 2022-08-03 21:06:55.000000000 -0500
@@ -26,5 +26,3 @@
#define DATETIME_COMPONENTS ({DATETIME_COMPONENTS_DO_NOT_USE(); (DATE_COMPONENTS | NSCalendarUnitHour | NSCalendarUnitMinute | NSCalendarUnitSecond); })
#endif
-
-
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status