Skip to content

HealthKit iOS 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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h /Applications/Xcode_14.1.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h
--- /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h	2022-09-23 15:03:00.000000000 -0400
+++ /Applications/Xcode_14.1.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h	2022-10-06 14:45:59.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h /Applications/Xcode_14.1.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h
--- /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h	2022-09-23 15:02:59.000000000 -0400
+++ /Applications/Xcode_14.1.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h	2022-10-06 14:45:57.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