Skip to content

Vision macOS xcode16.0 b4

Rolf Bjarne Kvinge edited this page Aug 29, 2024 · 3 revisions

#Vision.framework https://github.com/xamarin/xamarin-macios/pull/21149

diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h	2024-06-28 16:30:56
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h	2024-07-12 05:46:46
@@ -90,13 +90,13 @@
 /*
  @brief VNRecognizeTextRequestRevision1 only supports English
  */
-API_DEPRECATED_WITH_REPLACEMENT("VNRecognizeTextRequestRevision2 or VNRecognizeTextRequestRevision3", macos(10.15, 15.0), ios(13.0, 18.0), tvos(13.0, 18.0))
+API_DEPRECATED_WITH_REPLACEMENT("VNRecognizeTextRequestRevision3", macos(10.15, 15.0), ios(13.0, 18.0), tvos(13.0, 18.0))
 static const NSUInteger VNRecognizeTextRequestRevision1 = 1;
 
 /*
  @brief VNRecognizeTextRequestRevision2 supports English, Chinese, Portuguese, French, Italian, German and Spanish in the accurate recognition level. The fast recognition level supports English, Portuguese, French, Italian, German and Spanish. Best practice is to use supportedRecognitionLanguagesForTextRecognitionLevel to check for supported languages. As the underlying engine has changed from VNRecognizeTextRequestRevision1, results can differ but are generally more accurate. 
  */
-API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0))
+API_DEPRECATED_WITH_REPLACEMENT("VNRecognizeTextRequestRevision3", macos(11.0, 15.0), ios(14.0, 18.0), tvos(14.0, 18.0))
 static const NSUInteger VNRecognizeTextRequestRevision2 = 2;
 
 /*
Clone this wiki locally