Skip to content

UIKit iOS xcode14.3 beta2

Alex Soto edited this page Mar 15, 2023 · 2 revisions

#UIKit.framework https://github.com/xamarin/xamarin-macios/pull/17810

diff -ruN /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h
--- /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2023-02-10 11:45:09
+++ /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2023-02-17 07:07:38
@@ -172,6 +172,7 @@
 #import <UIKit/UITextChecker.h>
 #import <UIKit/UITextField.h>
 #import <UIKit/UITextInput.h>
+#import <UIKit/UITextInputContext.h>
 #import <UIKit/UITextInputTraits.h>
 #import <UIKit/UITextView.h>
 #import <UIKit/UIToolbar.h>
diff -ruN /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputContext.h /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputContext.h
--- /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputContext.h	1969-12-31 19:00:00
+++ /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputContext.h	2023-02-25 10:27:06
@@ -0,0 +1,26 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UITextInputContext.h>)
+//
+//  UITextInputContext.h
+//  UIKit
+//
+//  Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <UIKit/UIKitCore.h>
+
+// UITextInputContext provides a way to indicate Scribble, dictation, and hardware keyboard input.
+API_AVAILABLE(ios(17.0), macos(14.0))
+@interface UITextInputContext : NSObject
+
+@property (nonatomic, readwrite, getter=isPencilInputExpected) BOOL pencilInputExpected;
+@property (nonatomic, readwrite, getter=isDictationInputExpected) BOOL dictationInputExpected;
+@property (nonatomic, readwrite, getter=isHardwareKeyboardInputExpected) BOOL hardwareKeyboardInputExpected;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
++ (UITextInputContext *)current;
+@end
+
+#else
+#import <UIKitCore/UITextInputContext.h>
+#endif
Clone this wiki locally