-
Notifications
You must be signed in to change notification settings - Fork 549
AppKit macOS xcode16.1 b3
Alex Soto edited this page Oct 7, 2024
·
2 revisions
#AppKit.framework
diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h 2024-09-06 20:38:19
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h 2024-10-02 01:35:01
@@ -82,7 +82,7 @@
/* End temporary declarations */
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@interface NSCollectionViewCompositionalLayoutConfiguration : NSObject<NSCopying>
@property NSCollectionViewScrollDirection scrollDirection;
@property CGFloat interSectionSpacing;
@@ -131,7 +131,7 @@
typedef void (^NSCollectionLayoutSectionVisibleItemsInvalidationHandler)(NSArray<id<NSCollectionLayoutVisibleItem>> *visibleItems, NSPoint contentOffset, id<NSCollectionLayoutEnvironment> layoutEnvironment);
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@interface NSCollectionLayoutSection : NSObject<NSCopying>
+ (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
- (instancetype)init NS_UNAVAILABLE;
@@ -157,7 +157,7 @@
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@interface NSCollectionLayoutItem : NSObject<NSCopying>
+ (instancetype)itemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize;
+ (instancetype)itemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize supplementaryItems:(NSArray<NSCollectionLayoutSupplementaryItem*>*)supplementaryItems;
@@ -211,7 +211,7 @@
@property(readonly) NSArray<NSCollectionLayoutSupplementaryItem*> *supplementaryItems;
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@interface NSCollectionLayoutGroupCustomItem : NSObject<NSCopying>
+ (instancetype)customItemWithFrame:(NSRect)frame;
+ (instancetype)customItemWithFrame:(NSRect)frame zIndex:(NSInteger)zIndex;
@@ -294,7 +294,7 @@
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@interface NSCollectionLayoutDimension : NSObject<NSCopying>
// dimension is computed as a fraction of the width of the containing group
+ (instancetype)fractionalWidthDimension:(CGFloat)fractionalWidth;
@@ -318,7 +318,7 @@
@property(readonly) CGFloat dimension;
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@interface NSCollectionLayoutSize : NSObject<NSCopying>
+ (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
- (instancetype)init NS_UNAVAILABLE;
@@ -328,7 +328,7 @@
@property(readonly) NSCollectionLayoutDimension *heightDimension;
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@interface NSCollectionLayoutSpacing : NSObject<NSCopying>
+ (instancetype)flexibleSpacing:(CGFloat)flexibleSpacing; // i.e. >=
+ (instancetype)fixedSpacing:(CGFloat)fixedSpacing; // i.e. ==
@@ -341,7 +341,7 @@
@property(readonly) BOOL isFixedSpacing;
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@interface NSCollectionLayoutEdgeSpacing : NSObject<NSCopying>
// Edge spacing specifies additional outsets around items required when performing layout.
@@ -524,7 +524,7 @@
@property(readonly) NSString *elementKind;
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@interface NSCollectionLayoutAnchor : NSObject<NSCopying>
// +------------------+ +------+ +------------------+
@@ -581,7 +581,7 @@
@property(readonly) BOOL isFractionalOffset;
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@protocol NSCollectionLayoutContainer<NSObject>
@property(readonly) NSSize contentSize; // resolved size of container (before any insets are applied)
@property(readonly) NSSize effectiveContentSize; // after insets are applied
@@ -589,12 +589,12 @@
@property(readonly) NSDirectionalEdgeInsets effectiveContentInsets; // resolved value after resolving any unit values
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@protocol NSCollectionLayoutEnvironment<NSObject>
@property(readonly) id<NSCollectionLayoutContainer> container;
@end
-API_AVAILABLE(macos(10.15))
+API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
@protocol NSCollectionLayoutVisibleItem<NSObject>
@property CGFloat alpha;
@property NSInteger zIndex;
diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewLayout.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewLayout.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewLayout.h 2024-09-06 20:38:22
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewLayout.h 2024-10-02 01:35:05
@@ -36,7 +36,7 @@
@class NSCollectionView;
@class NSNib;
-APPKIT_EXTERN API_AVAILABLE(macos(10.11))
+APPKIT_EXTERN API_AVAILABLE(macos(10.11)) NS_SWIFT_UI_ACTOR
@interface NSCollectionViewLayoutAttributes : NSObject <NSCopying>
@property NSRect frame;
@@ -64,7 +64,7 @@
NSCollectionUpdateActionNone
} API_AVAILABLE(macos(10.11));
-APPKIT_EXTERN API_AVAILABLE(macos(10.11))
+APPKIT_EXTERN API_AVAILABLE(macos(10.11)) NS_SWIFT_UI_ACTOR
@interface NSCollectionViewUpdateItem : NSObject
@property (nullable, readonly) NSIndexPath *indexPathBeforeUpdate; // nil for NSCollectionUpdateActionInsert
@@ -73,7 +73,7 @@
@end
-APPKIT_EXTERN API_AVAILABLE(macos(10.11))
+APPKIT_EXTERN API_AVAILABLE(macos(10.11)) NS_SWIFT_UI_ACTOR
@interface NSCollectionViewLayoutInvalidationContext : NSObject
@property (readonly) BOOL invalidateEverything; // set to YES when invalidation occurs because the collection view is sent -reloadData
@@ -93,7 +93,7 @@
/* The NSCollectionViewLayout class is provided as an abstract class for subclassing to define custom collection layouts. Defining a custom layout is an advanced operation intended for applications with complex needs.
*/
-APPKIT_EXTERN API_AVAILABLE(macos(10.11))
+APPKIT_EXTERN API_AVAILABLE(macos(10.11)) NS_SWIFT_UI_ACTOR
@interface NSCollectionViewLayout : NSObject <NSCoding>
/* Methods in this class are meant to be overridden and will be called by its collection view to gather layout information. To get the truth on the current state of the collection view, call methods on NSCollectionView rather than these.
diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSRunningApplication.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSRunningApplication.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSRunningApplication.h 2024-09-06 20:38:22
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSRunningApplication.h 2024-10-02 01:35:04
@@ -59,7 +59,7 @@
To access the list of all running applications, use the `-runningApplications` method on `NSWorkspace`.
*/
-API_AVAILABLE(macos(10.6))
+API_AVAILABLE(macos(10.6)) NS_SWIFT_SENDABLE
@interface NSRunningApplication : NSObject
/// Indicates that the process is an exited application.
diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTableColumn.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTableColumn.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTableColumn.h 2024-09-06 20:38:24
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTableColumn.h 2024-10-02 01:35:06
@@ -23,6 +23,7 @@
NSTableColumnUserResizingMask = ( 1 << 1 ), // The user can resize this column manually.
};
+NS_SWIFT_UI_ACTOR
@interface NSTableColumn : NSObject <NSCoding, NSUserInterfaceItemIdentification>
/* Designated initializer for NSTableColumns. Prior to 10.7, the parameter type was 'id', but it is now an 'NSString *'. See also -setIdentifier: and -identifier, and NSUserInterfaceItemIdentification.