-
Notifications
You must be signed in to change notification settings - Fork 507
AppKit macOS xcode15.0 b5
Manuel de la Pena edited this page Aug 17, 2023
·
3 revisions
#AppKit.framework https://github.com/xamarin/xamarin-macios/pull/18762
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButtonCell.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButtonCell.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButtonCell.h 2023-06-30 01:49:45
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButtonCell.h 2023-07-19 03:39:39
@@ -27,17 +27,40 @@
};
typedef NS_ENUM(NSUInteger, NSBezelStyle) {
+ /// The appearance of this bezel style is automatically determined based on the button's contents and position within the window. This bezel style is the default for all button initializers.
NSBezelStyleAutomatic API_AVAILABLE(macos(14.0)) = 0,
+
+ /// The standard system push button style.
NSBezelStylePush = 1,
+
+ /// A flexible-height variant of NSBezelStylePush.
NSBezelStyleFlexiblePush = 2,
+
+ /// An unbezeled button with a disclosure triangle.
NSBezelStyleDisclosure = 5,
+
+ /// A button with a circular bezel suitable for a small icon or single character.
NSBezelStyleCircular = 7,
+
+ /// A circular button with a question mark providing the standard Help button appearance.
NSBezelStyleHelpButton = 9,
+
+ /// A button with squared edges and flexible height.
NSBezelStyleSmallSquare = 10,
+
+ /// A button style that is appropriate for use in a toolbar item.
NSBezelStyleToolbar = 11,
+
+ /// A bezel style that is suitable for accessory and scope bars. This style is typically used for buttons that perform an action or for pop-up buttons.
NSBezelStyleAccessoryBarAction = 12,
+
+ /// A bezel style that is suitable for accessory and scope bars. This style is typically used for buttons with togglable state.
NSBezelStyleAccessoryBar = 13,
+
+ /// A bezeled variant of NSBezelStyleDisclosure.
NSBezelStylePushDisclosure = 14,
+
+ /// A bezel style that is typically used in table rows to display information about the row, such as a count.
NSBezelStyleBadge API_AVAILABLE(macos(10.7)) = 15,
NSBezelStyleShadowlessSquare API_DEPRECATED_WITH_REPLACEMENT("NSBezelStyleSmallSquare", macos(10.0, API_TO_BE_DEPRECATED)) = 6,
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h 2023-06-30 01:49:45
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h 2023-07-19 03:39:38
@@ -172,8 +172,12 @@
NSButtonCell applies effects to images based on the state of the button. For example, images are shaded darker when the button is pressed. If a template image is set on a cell, the cell can apply more sophisticated effects. For example, it may be processed into an image that looks engraved when drawn into a cell whose interiorBackgroundStyle is NSBackgroundStyleRaised, like on a textured button.
*/
#if defined(__cplusplus)
+#if defined(__swift__)
+@property (getter=isTemplate, setter=setTemplate:) BOOL _template NS_SWIFT_NAME(isTemplate) API_AVAILABLE(macos(10.5));
+#else
- (BOOL)isTemplate API_AVAILABLE(macos(10.5));
- (void)setTemplate:(BOOL)isTemplate API_AVAILABLE(macos(10.5));
+#endif
#else
@property (getter=isTemplate) BOOL template API_AVAILABLE(macos(10.5));
#endif
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h 2023-06-30 01:49:43
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h 2023-07-19 03:39:36
@@ -61,7 +61,7 @@
@property BOOL allowsCutCopyPaste;
-/// Default preferred image dynamic range. Defaults to `NSImageDynamicRangeHigh` on macOS 14 and higher, `NSImageDynamicRangeStandard` otherwise. Set to another value to change the default for all subsequently created `NSImageView`s in your app.
+/// Default preferred image dynamic range. Defaults to `NSImageDynamicRangeConstrainedHigh` on macOS 14 and higher, `NSImageDynamicRangeStandard` otherwise. Set to another value to change the default for all subsequently created `NSImageView`s in your app.
@property (class) NSImageDynamicRange defaultPreferredImageDynamicRange API_AVAILABLE(macos(14.0));
/// Preferred dynamic range when displaying an image in the receiving image view.
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSpellChecker.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSpellChecker.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSpellChecker.h 2023-06-30 01:49:44
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSpellChecker.h 2023-07-19 03:39:37
@@ -17,8 +17,9 @@
APPKIT_API_UNAVAILABLE_BEGIN_MACCATALYST
@class NSString, NSOrthography, NSPanel, NSView, NSViewController, NSMenu;
+@protocol NSTextInputClient;
-/* Optional keys that may be used in the options dictionary with checkString:range:types:options:inSpellDocumentWithTag:orthography:wordCount:, requestCheckingOfString:range:types:options:inSpellDocumentWithTag:completionHandler:, and menuForResult:string:options:atLocation:inView:. */
+/* Optional keys that may be used in the options dictionary with checkString:range:types:options:inSpellDocumentWithTag:orthography:wordCount:, requestCheckingOfString:range:types:options:inSpellDocumentWithTag:completionHandler:, requestCandidatesForSelectedRange:inString:types:options:inSpellDocumentWithTag: completionHandler:, and menuForResult:string:options:atLocation:inView:. */
typedef NSString * NSTextCheckingOptionKey NS_TYPED_ENUM;
APPKIT_EXTERN NSTextCheckingOptionKey NSTextCheckingOrthographyKey API_AVAILABLE(macos(10.6)); // NSOrthography indicating an orthography to be used as a starting point for orthography checking, or as the orthography if orthography checking is not enabled
APPKIT_EXTERN NSTextCheckingOptionKey NSTextCheckingQuotesKey API_AVAILABLE(macos(10.6)); // NSArray containing four strings to be used with NSTextCheckingTypeQuote (opening double quote, closing double quote, opening single quote, and closing single quote in that order); if not specified, values will be taken from user's preferences
@@ -30,6 +31,7 @@
APPKIT_EXTERN NSTextCheckingOptionKey NSTextCheckingDocumentAuthorKey API_AVAILABLE(macos(10.6)); // NSString, name of an author to be associated with the document
APPKIT_EXTERN NSTextCheckingOptionKey NSTextCheckingRegularExpressionsKey API_AVAILABLE(macos(10.7)); // NSArray of NSRegularExpressions to be matched in the text of the document
APPKIT_EXTERN NSTextCheckingOptionKey NSTextCheckingSelectedRangeKey API_AVAILABLE(macos(10.12)); // NSValue containing NSRange, should be the portion of the selected range intersecting the string being checked, or a zero-length range if there is an insertion point in or adjacent to the string being checked, or NSMakeRange(NSNotFound, 0) if the selection is entirely outside of the string being checked.
+APPKIT_EXTERN NSTextCheckingOptionKey NSTextCheckingGenerateInlinePredictionsKey API_AVAILABLE(macos(14.0)); // NSNumber evaluated as BOOL, to be used in the options passed to requestCandidates to request the inclusion of inline prediction candidates in the results.
/* The NSSpellChecker object is used by a client (e.g. a document in an application) to spell-check a given NSString. There is only one NSSpellChecker instance per application (since spell-checking is interactive and you only have one mouse and one keyboard).
@@ -135,6 +137,9 @@
- (void)showCorrectionIndicatorOfType:(NSCorrectionIndicatorType)type primaryString:(NSString *)primaryString alternativeStrings:(NSArray<NSString *> *)alternativeStrings forStringInRect:(NSRect)rectOfTypedString view:(NSView *)view completionHandler:(void (^ _Nullable)(NSString * _Null_unspecified acceptedString))completionBlock API_AVAILABLE(macos(10.7));
- (void)dismissCorrectionIndicatorForView:(NSView *)view API_AVAILABLE(macos(10.7));
+
+/* Clients may use this to cause inline prediction candidates to be shown. The candidates passed in should come from calling requestCandidates with the NSTextCheckingGenerateInlinePredictionsKey option set. The inline prediction (if any) will be sent to the client for display using NSTextInputClient methods. */
+- (void)showInlinePredictionForCandidates:(NSArray<NSTextCheckingResult *> *)candidates client:(id <NSTextInputClient>)client API_AVAILABLE(macos(14.0));
/* In some cases the next typing should prevent a pending correction (if it is an @, for example). This method allows clients to recognize these cases in a standardized way. */
- (BOOL)preventsAutocorrectionBeforeString:(NSString *)string language:(nullable NSString *)language API_AVAILABLE(macos(10.12));
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status