Skip to content

Speech macOS xcode14.0 rc

Israel Soto edited this page Sep 7, 2022 · 1 revision

#Speech.framework

diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionRequest.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionRequest.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionRequest.h	2022-08-05 12:40:35.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionRequest.h	2022-08-03 21:05:52.000000000 -0500
@@ -33,9 +33,6 @@
 // Default is false
 @property (nonatomic) BOOL requiresOnDeviceRecognition API_AVAILABLE(ios(13), macos(10.15));
 
-// If true, punctuations will be automatically included in the recognition results
-@property (nonatomic) BOOL addsPunctuation API_AVAILABLE(ios(16), macos(13));
-
 @end
 
 // A request to recognize speech from a recorded audio file
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognizer.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognizer.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognizer.h	2022-08-05 12:40:35.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognizer.h	2022-08-03 21:05:52.000000000 -0500
@@ -36,11 +36,7 @@
 + (SFSpeechRecognizerAuthorizationStatus)authorizationStatus;
 + (void)requestAuthorization:(void(^)(SFSpeechRecognizerAuthorizationStatus status))handler;
 
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnullability"
 - (nullable instancetype)init; // Returns speech recognizer with user's current locale, or nil if is not supported
-#pragma clang diagnostic pop
-
 - (nullable instancetype)initWithLocale:(NSLocale *)locale NS_DESIGNATED_INITIALIZER; // returns nil if the locale is not supported
 
 @property (nonatomic, readonly, getter=isAvailable) BOOL available;
Clone this wiki locally