-
Notifications
You must be signed in to change notification settings - Fork 515
ClockKit iOS xcode13.0 beta1
Sebastien Pouliot edited this page Jun 7, 2021
·
3 revisions
#ClockKit.framework
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplication.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplication.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplication.h 2021-03-16 08:47:03.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplication.h 2021-06-02 12:46:37.000000000 -0400
@@ -24,6 +24,7 @@
/// An optional user activity, defined in this complication's CLKComplicationDescriptor.
@property (nonatomic, readonly, nullable) NSUserActivity *userActivity API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDataSource.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDataSource.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDataSource.h 2021-03-16 05:18:05.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDataSource.h 2021-06-02 07:35:36.000000000 -0400
@@ -17,6 +17,7 @@
@class CLKComplicationDescriptor;
API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+NS_SWIFT_UI_ACTOR
@protocol CLKComplicationDataSource <NSObject>
#pragma mark Timeline Configuration
@@ -26,23 +27,23 @@
/// Timeline entries after the timeline end date will not be displayed.
@optional
- (void)getTimelineEndDateForComplication:(CLKComplication *)complication
- withHandler:(void(^)(NSDate * __nullable date))handler;
+ withHandler:(void(^)(NSDate * __nullable date))handler NS_SWIFT_ASYNC(2);
/// Indicate whether your complication's data should be hidden when the watch is locked.
@optional
- (void)getPrivacyBehaviorForComplication:(CLKComplication *)complication
- withHandler:(void(^)(CLKComplicationPrivacyBehavior behavior))handler;
+ withHandler:(void(^)(CLKComplicationPrivacyBehavior behavior))handler NS_SWIFT_ASYNC(2);
/// Indicate your complication's animation behavior when transitioning between timeline entries.
@optional
- (void)getTimelineAnimationBehaviorForComplication:(CLKComplication *)complication
- withHandler:(void(^)(CLKComplicationTimelineAnimationBehavior behavior))handler;
+ withHandler:(void(^)(CLKComplicationTimelineAnimationBehavior behavior))handler NS_SWIFT_ASYNC(2);
/// Provide the entry that should currently be displayed during always on time.
/// If you pass back nil, we will continue to show the current timeline entry if it exists.
@optional
- (void)getAlwaysOnTemplateForComplication:(CLKComplication *)complication
- withHandler:(void(^)(CLKComplicationTemplate * __nullable))handler API_AVAILABLE(watchos(6.0)) API_UNAVAILABLE(ios);
+ withHandler:(void(^)(CLKComplicationTemplate * __nullable))handler NS_SWIFT_ASYNC(2) API_AVAILABLE(watchos(6.0)) API_UNAVAILABLE(ios);
#pragma mark Timeline Population
@@ -51,7 +52,7 @@
/// If you pass back nil, we will conclude you have no content loaded and will stop talking to your until you next call -reloadTimelineForComplication:.
@required
- (void)getCurrentTimelineEntryForComplication:(CLKComplication *)complication
- withHandler:(void(^)(CLKComplicationTimelineEntry * __nullable))handler;
+ withHandler:(void(^)(CLKComplicationTimelineEntry * __nullable))handler NS_SWIFT_ASYNC(2);
/// The owning complication will use these methods to extend its timeline forward.
/// @param date The date of the last entry we already have. Return the batch of entries after this date.
@@ -60,7 +61,7 @@
- (void)getTimelineEntriesForComplication:(CLKComplication *)complication
afterDate:(NSDate *)date
limit:(NSUInteger)limit
- withHandler:(void(^)(NSArray<CLKComplicationTimelineEntry *> * __nullable entries))handler;
+ withHandler:(void(^)(NSArray<CLKComplicationTimelineEntry *> * __nullable entries))handler NS_SWIFT_ASYNC(4);
#pragma mark - Sample Templates
@@ -73,7 +74,7 @@
/// If you pass back nil, we will use the default placeholder template (which is a combination of your icon and app name).
@optional
- (void)getLocalizableSampleTemplateForComplication:(CLKComplication *)complication
- withHandler:(void(^)(CLKComplicationTemplate * __nullable complicationTemplate))handler API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios);
+ withHandler:(void(^)(CLKComplicationTemplate * __nullable complicationTemplate))handler NS_SWIFT_ASYNC(2) API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios);
#pragma mark - Multiple Complications
@@ -82,7 +83,7 @@
/// Provide a complete list of the current complication descriptors that your extension supports. These will be available
/// during complication editing.
@optional
-- (void)getComplicationDescriptorsWithHandler:(void(^)(NSArray<CLKComplicationDescriptor *> *))handler API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
+- (void)getComplicationDescriptorsWithHandler:(void(^)(NSArray<CLKComplicationDescriptor *> *))handler NS_SWIFT_ASYNC(1) NS_SWIFT_ASYNC_NAME(complicationDescriptors()) API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
/// This method will be called each time a watch face is shared with this device that contains complications
/// from your extension. Ensure you do any necessary work to support these complications as much as possible.
@@ -90,7 +91,6 @@
- (void)handleSharedComplicationDescriptors:(NSArray<CLKComplicationDescriptor *> *)complicationDescriptors API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
-
#pragma mark - Deprecated
@optional
@@ -99,7 +99,7 @@
#pragma mark Time Travel
@optional
-- (void)getSupportedTimeTravelDirectionsForComplication:(CLKComplication *)complication withHandler:(void(^)(CLKComplicationTimeTravelDirections directions))handler API_DEPRECATED("Time Travel is no longer supported. Use CLKComplicationDataSource's getTimelineEndDateWithHandler: to specify forward timeline support.", watchos(2.0, 7.0));
+- (void)getSupportedTimeTravelDirectionsForComplication:(CLKComplication *)complication withHandler:(void(^)(CLKComplicationTimeTravelDirections directions))handler API_DEPRECATED("Time Travel is no longer supported. Use CLKComplicationDataSource's getTimelineEndDateForComplication:withHandler: to specify forward timeline support.", watchos(2.0, 7.0));
@optional
- (void)getTimelineStartDateForComplication:(CLKComplication *)complication withHandler:(void(^)(NSDate * __nullable date))handler API_DEPRECATED("Time Travel and backwards extension of timelines are no longer supported.", watchos(2.0, 7.0));
@@ -108,8 +108,6 @@
- (void)getTimelineEntriesForComplication:(CLKComplication *)complication beforeDate:(NSDate *)date limit:(NSUInteger)limit
withHandler:(void(^)(NSArray<CLKComplicationTimelineEntry *> * __nullable entries))handler API_DEPRECATED("Time Travel and backwards extension of timelines are no longer supported.", watchos(2.0, 7.0));
-#pragma mark Update Scheduling
-
/// These methods will no longer be called for clients adopting the WKRefreshBackgroundTask APIs, which are the recommended means of scheduling updates.
/// In a future release these methods will no longer be called.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDescriptor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDescriptor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDescriptor.h 2021-03-16 08:47:02.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDescriptor.h 2021-06-02 12:46:37.000000000 -0400
@@ -50,4 +50,3 @@
@end
NS_ASSUME_NONNULL_END
-
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationServer.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationServer.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationServer.h 2021-03-16 08:47:02.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationServer.h 2021-06-02 12:46:37.000000000 -0400
@@ -27,6 +27,8 @@
- (void)reloadComplicationDescriptors API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
+#pragma mark - Deprecated
+
@property (nonatomic, readonly) NSDate *earliestTimeTravelDate API_DEPRECATED("Time Travel is no longer supported.", watchos(2.0, 7.0));
@property (nonatomic, readonly) NSDate *latestTimeTravelDate API_DEPRECATED("Time Travel is no longer supported.", watchos(2.0, 7.0));
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h 2021-03-16 08:47:02.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h 2021-06-02 12:46:37.000000000 -0400
@@ -71,4 +71,3 @@
extern NSString * const CLKDefaultComplicationIdentifier API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
extern NSArray<NSNumber *> *CLKAllComplicationFamilies(void) API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios) NS_REFINED_FOR_SWIFT;
-
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKWatchFaceLibrary.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKWatchFaceLibrary.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKWatchFaceLibrary.h 2021-03-16 08:47:02.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKWatchFaceLibrary.h 2021-06-02 12:46:37.000000000 -0400
@@ -28,4 +28,3 @@
@end
NS_ASSUME_NONNULL_END
-
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/ClockKit.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/ClockKit.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/ClockKit.h 2021-03-16 08:40:51.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/ClockKit.h 2021-06-01 22:25:00.000000000 -0400
@@ -20,4 +20,6 @@
#import <ClockKit/CLKFullColorImageProvider.h>
#import <ClockKit/CLKWatchFaceLibrary.h>
+
#import <ClockKit/CLKComplicationDescriptor.h>
+
- 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
- xcode16.1 Binding Status
- xcode16.2 Binding Status