Skip to content

FSKit macOS xcode16.0 b4

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

#FSKit.framework https://github.com/xamarin/xamarin-macios/pull/21029

diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSEntityIdentifier.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSEntityIdentifier.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSEntityIdentifier.h	2024-07-02 01:31:09
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSEntityIdentifier.h	2024-07-13 05:25:27
@@ -33,10 +33,6 @@
 @property (retain)              NSUUID  *uuid;
 @property (retain, nullable)    NSData  *qual;
 
-- (instancetype)initWithBytes:(const char *)buffer
-                       length:(int)len
-__deprecated_msg("Use initWithUUID: or other initializers instead");
-
 @end
 
 @class FSContainerIdentifier;
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSFileDataBuffer.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSFileDataBuffer.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSFileDataBuffer.h	2024-07-02 01:31:08
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSFileDataBuffer.h	2024-07-13 05:25:27
@@ -24,9 +24,9 @@
 
 +(nullable instancetype)dataWithLength:(NSUInteger)length FSKIT_API_AVAILABILITY_V1;
 -(nullable instancetype)initWithLength:(NSUInteger)length FSKIT_API_AVAILABILITY_V1;
+-(const void * _Nullable)bytes FSKIT_API_AVAILABILITY_V1 NS_SWIFT_UNAVAILABLE("Use a withBytes instead.");
+-(void)withBytes:(void(^)(const char * _Nonnull bytes))closure FSKIT_API_AVAILABILITY_V1;
 
--(const void * _Nullable)bytes NS_RETURNS_INNER_POINTER FSKIT_API_AVAILABILITY_V1;
-
 @end
 
 FSKIT_API_AVAILABILITY_V1
@@ -35,7 +35,8 @@
 +(nullable instancetype)dataWithCapacity:(NSUInteger)capacity FSKIT_API_AVAILABILITY_V1;
 -(nullable instancetype)initWithCapacity:(NSUInteger)capacity FSKIT_API_AVAILABILITY_V1;
 -(NSUInteger) capacity FSKIT_API_AVAILABILITY_V1;
--(void * _Nullable)mutableBytes FSKIT_API_AVAILABILITY_V1;
+-(void * _Nullable)mutableBytes FSKIT_API_AVAILABILITY_V1 NS_SWIFT_UNAVAILABLE("Use a withMutableBytes instead.");
+-(void)withMutableBytes:(void(^)(void * _Nonnull bytes))closure FSKIT_API_AVAILABILITY_V1;
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSKit.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSKit.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSKit.h	2024-07-02 01:31:08
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSKit.h	2024-07-13 05:25:27
@@ -29,7 +29,6 @@
 #import <FSKit/FSFileDataBuffer.h>
 #import <FSKit/FSFileName.h>
 #import <FSKit/FSItem.h>
-#import <FSKit/FSKitUtils.h>
 #import <FSKit/FSMessageConnection.h>
 #import <FSKit/FSModuleIdentity.h>
 #import <FSKit/FSResource.h>
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSKitUtils.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSKitUtils.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSKitUtils.h	2024-07-02 01:31:08
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSKitUtils.h	1969-12-31 19:00:00
@@ -1,22 +0,0 @@
-//
-//  Copyright (c) 2023 Apple Inc.  All rights reserved.
-//
-//  FSKitUtils.h
-//  FSKit
-//
-
-#import <Foundation/Foundation.h>
-#import <FSKit/FSKitDefines.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-FSKIT_API_AVAILABILITY_V1
-@interface FSKitUtils : NSObject
-
-+ (NSString *)stringWithFormatString:(NSString *)localizedFormat
-                              locale:(NSLocale *)locale
-                           arguments:(NSArray <NSObject *> *)arguments FSKIT_API_AVAILABILITY_V1;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSMessageConnection.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSMessageConnection.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSMessageConnection.h	2024-07-02 01:31:09
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSMessageConnection.h	2024-07-13 05:25:27
@@ -12,7 +12,7 @@
 
 /** Protocol to run FS task methods from a different process using FSMessageConnection  */
 FSKIT_API_AVAILABILITY_V1
-@protocol FSTaskMessageOps
+@protocol FSTaskMessageOperations
 
 /** @method logMessage
     @abstract Logs given data, e.g. log a NSString to stdout, or log to a file.
@@ -46,16 +46,11 @@
 - (void)completed:(NSError * _Nullable)error
      replyHandler:(void (^)(int ignore_me, NSError * _Nullable))reply FSKIT_API_AVAILABILITY_V1;
 
-@optional
-- (void)completed:(NSError * _Nullable)error
-            reply:(void (^)(int ignore_me, NSError * _Nullable))reply
-__deprecated_msg("Use completed:replyHandler: instead") FSKIT_API_AVAILABILITY_V1;
-
 @end
 
 /** This class allows an FSTask to pass log messages and completion information back to an initiating client. It also allows prompting for responses from a user. */
 FSKIT_API_AVAILABILITY_V1
-@interface FSMessageConnection :  NSObject<NSSecureCoding, FSTaskMessageOps>
+@interface FSMessageConnection :  NSObject<NSSecureCoding, FSTaskMessageOperations>
 
 /** Client information about linguistic, cultural, and technological conventions for use in formatting data for presentation. */
 @property (readonly) NSLocale *locale FSKIT_API_AVAILABILITY_V1;
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSResource.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSResource.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSResource.h	2024-07-02 01:31:08
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/FSKit.framework/Headers/FSResource.h	2024-07-13 05:25:27
@@ -282,7 +282,7 @@
  * FSPathURLResources MAY conform to thei protocol.
  */
 FSKIT_API_AVAILABILITY_V1
-@protocol FSManageableResourceSimpleMaintenanceOps <NSObject>
+@protocol FSManageableResourceMaintenanceOperations <NSObject>
 
 @optional
 -(void)checkWithParameters:(FSTaskParameters)parameters
Clone this wiki locally