Skip to content

AppKit macOS xcode16.2 b3

Rolf Bjarne Kvinge edited this page Nov 21, 2024 · 1 revision

#AppKit.framework

diff -ruN /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes
--- /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes	2024-10-31 05:42:42
+++ /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes	2024-11-16 04:27:27
@@ -7550,16 +7550,6 @@
   SwiftName: NSWorkspace.FileOperationName
 - Name: NSWorkspaceLaunchConfigurationKey
   SwiftName: NSWorkspace.LaunchConfigurationKey
-- Name: NSWritingToolsCoordinatorContextRequestReason
-  SwiftName: NSWritingToolsCoordinator.ContextRequestReason
-- Name: NSWritingToolsCoordinatorState
-  SwiftName: NSWritingToolsCoordinator.State
-- Name: NSWritingToolsCoordinatorTextAnimation
-  SwiftName: NSWritingToolsCoordinator.TextAnimation
-- Name: NSWritingToolsCoordinatorTextReplacementReason
-  SwiftName: NSWritingToolsCoordinator.TextReplacementReason
-- Name: NSWritingToolsCoordinatorTextUpdateReason
-  SwiftName: NSWritingToolsCoordinator.TextUpdateReason
 - Name: _BCFlags
   Availability: nonswift
 - Name: _BCFlags2
diff -ruN /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWritingToolsCoordinator.h /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWritingToolsCoordinator.h
--- /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWritingToolsCoordinator.h	2024-10-31 06:05:00
+++ /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWritingToolsCoordinator.h	2024-11-16 04:53:16
@@ -48,7 +48,7 @@
     /// Specify this option when an undo or redo command initiated the
     /// change to your view.
     NSWritingToolsCoordinatorTextUpdateReasonUndoRedo,
-} API_AVAILABLE(macos(15.2));
+} API_AVAILABLE(macos(15.2)) NS_SWIFT_NAME(NSWritingToolsCoordinator.TextUpdateReason);
 
 /// The states that indicate the current activity, if any, Writing Tools
 /// is performing in your view.
@@ -111,7 +111,7 @@
     /// the results back to your view. When the coordinator finishes delivering
     /// the results, it transitions back to the ``interactiveResting`` state.
     NSWritingToolsCoordinatorStateInteractiveStreaming, // Writing Tools is providing the full inline-editing experience, and is updating text, either because results are provided from AppleIntelligence, or because user interaction has requested changes, such as showing a different revision
-} API_AVAILABLE(macos(15.2));
+} API_AVAILABLE(macos(15.2)) NS_SWIFT_NAME(NSWritingToolsCoordinator.State);
 
 /// Options that indicate whether Writing Tools is animating changes to
 /// your view’s text.
@@ -140,7 +140,7 @@
     /// ``NSWritingToolsCoordinator/writingToolsCoordinator(_:replaceRange:inContext:proposedText:reason:animationParameters:completion:)``
     /// method, update your view’s text storage without animating the change.
     NSWritingToolsCoordinatorTextReplacementReasonNoninteractive, // an unanimated replacement prompted from writing tools, perhaps copied from the overlay-panel experience, perhaps a reverted rewrite or individual proofreading suggestion, and so forth
-} API_AVAILABLE(macos(15.2));
+} API_AVAILABLE(macos(15.2)) NS_SWIFT_NAME(NSWritingToolsCoordinator.TextReplacementReason);
 
 /// Options that indicate how much of your content Writing Tools requested.
 ///
@@ -171,7 +171,7 @@
     /// With this option, include only the currently visible text, along with
     /// some additional text before and after the visible text.
     NSWritingToolsCoordinatorContextScopeVisibleArea, // inline editing on a user visible text; Writing Tools visual effects appear within the text view
-} API_AVAILABLE(macos(15.2));
+} API_AVAILABLE(macos(15.2)) NS_SWIFT_NAME(NSWritingToolsCoordinator.ContextScope);
 
 /// Use the `NSWritingToolsCoordinator.TextAnimation` constants to determine
 /// the type of animation that is occurring. During an interactive change to
@@ -226,7 +226,7 @@
     /// text between the insertion point and the end of your text storage. When
     /// finishing the animation, show the text again.
     NSWritingToolsCoordinatorTextAnimationTranslate = 9, // The animation effect for translating the trailing or "remainder" text during a replace animation
-} API_AVAILABLE(macos(15.2));
+} API_AVAILABLE(macos(15.2)) NS_SWIFT_NAME(NSWritingToolsCoordinator.TextAnimation);
 
 /// An object that manages interactions between Writing Tools and
 /// your custom text view.
@@ -254,8 +254,8 @@
 ///
 /// > Note: You don’t need to create an `NSWritingToolsCoordinator`  object
 /// if you display text using a <doc://com.apple.documentation/documentation/uikit/uitextview>,
+/// ``NSTextField``,
 /// ``NSTextView``,
-/// <doc://com.apple.documentation/documentation/swiftui/text>,
 /// <doc://com.apple.documentation/documentation/swiftui/textfield>, or
 /// <doc://com.apple.documentation/documentation/swiftui/texteditor> view.
 /// Those views already include the required support to handle Writing Tools
@@ -635,7 +635,7 @@
 /// starts at character `100` in your text storage, and an interaction occurs
 /// with the character at location `102`, specify a range with a location of
 /// `2` and a length of `1`.
-- (void)writingToolsCoordinator:(NSWritingToolsCoordinator *)writingToolsCoordinator requestsRangeInContextWithIdentifierForPoint:(CGPoint)point completion:(void(^)(NSRange range, NSUUID *contextID))completion NS_SWIFT_ASYNC_NAME(writingToolsCoordinator(_:rangeInContextWithIdentifierFor:));
+- (void)writingToolsCoordinator:(NSWritingToolsCoordinator *)writingToolsCoordinator requestsRangeInContextWithIdentifierForPoint:(NSPoint)point completion:(void(^)(NSRange range, NSUUID *contextID))completion NS_SWIFT_ASYNC_NAME(writingToolsCoordinator(_:rangeInContextWithIdentifierFor:));
 
 /// Asks the delegate to provide the bounding paths for the specified
 /// text in your view.
diff -ruN /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWritingToolsCoordinatorAnimationParameters.h /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWritingToolsCoordinatorAnimationParameters.h
--- /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWritingToolsCoordinatorAnimationParameters.h	2024-10-31 06:05:01
+++ /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWritingToolsCoordinatorAnimationParameters.h	2024-11-16 04:53:16
@@ -34,7 +34,7 @@
 ///``NSWritingToolsCoordinator/writingToolsCoordinator(_:replaceRange:inContext:proposedText:reason:animationParameters:completion:)``
 ///method of your ``NSWritingToolsCoordinator/Delegate`` object. Use that
 ///object to specify the blocks to run during and after the system animations.
-API_AVAILABLE(ios(18.2), macos(15.2)) NS_SWIFT_SENDABLE NS_SWIFT_NAME(NSWritingToolsCoordinator.AnimationParameters)
+API_AVAILABLE(macos(15.2)) NS_SWIFT_SENDABLE NS_SWIFT_NAME(NSWritingToolsCoordinator.AnimationParameters)
 @interface NSWritingToolsCoordinatorAnimationParameters : NSObject
 - (instancetype)init NS_UNAVAILABLE;
 
@@ -53,7 +53,7 @@
 /// current progress of the animations as a percentage value between
 /// `0.0` to `1.0`. The system executes your block multiple times during
 /// the course of the animations, providing an updated completion value each time.
-@property (nullable, strong) void(^progressHandler)(float progress);
+@property (nullable, copy) void(^progressHandler)(float progress);
 
 /// A custom block to run when the system animations finish.
 ///
@@ -61,7 +61,7 @@
 /// animations finish. The block you provide must have no return value
 /// and no parameters. The system executes this block once when the current
 /// animation finish.
-@property (nullable, strong) void(^completionHandler)(void);
+@property (nullable, copy) void(^completionHandler)(void);
 @end
 
 NS_HEADER_AUDIT_END(nullability, sendability)
Clone this wiki locally