Skip to content

HealthKit watchOS xcode14.1 rc

Manuel de la Pena edited this page Oct 21, 2022 · 3 revisions

#HealthKit.framework https://github.com/xamarin/xamarin-macios/pull/16410

diff -ruN /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h /Applications/Xcode_14.1.0-rc.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h
--- /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h	2022-09-22 09:11:24.000000000 -0400
+++ /Applications/Xcode_14.1.0-rc.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h	2022-10-06 13:22:24.000000000 -0400
@@ -60,6 +60,11 @@
 
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
++ (instancetype)prescriptionWithType:(HKVisionPrescriptionType)type
+                          dateIssued:(NSDate *)dateIssued
+                      expirationDate:(nullable NSDate *)expirationDate
+                              device:(nullable HKDevice *)device
+                            metadata:(nullable NSDictionary<NSString *, id> *)metadata NS_UNAVAILABLE;
 
 @end
 
diff -ruN /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h /Applications/Xcode_14.1.0-rc.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h
--- /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h	2022-09-22 09:11:21.000000000 -0400
+++ /Applications/Xcode_14.1.0-rc.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h	2022-10-06 13:22:22.000000000 -0400
@@ -53,6 +53,11 @@
 
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
++ (instancetype)prescriptionWithType:(HKVisionPrescriptionType)type
+                          dateIssued:(NSDate *)dateIssued
+                      expirationDate:(nullable NSDate *)expirationDate
+                              device:(nullable HKDevice *)device
+                            metadata:(nullable NSDictionary<NSString *, id> *)metadata NS_UNAVAILABLE;
 
 @end
 
Clone this wiki locally