API Differences in AppKit in macOS 15.4

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in AppKit in the macOS 15.4 SDK.

Table of Contents

Structs

NSPasteboard
DetectedMetadata
NSPasteboard
DetectedValues

Typealiases

NSPasteboardItem
public typealias DetectedMetadata = AppKit.NSPasteboard.DetectedMetadata
NSPasteboardItem
public typealias DetectedValues = AppKit.NSPasteboard.DetectedValues
typedef NSString *NSPasteboardDetectionPattern
typedef NSString *NSPasteboardMetadataType

Functions & Methods

NSPasteboard
public func detectedMetadata(for keyPaths: Swift.Set<Swift.PartialKeyPath<AppKit.NSPasteboard.DetectedMetadata>>) async throws -> AppKit.NSPasteboard.DetectedMetadata
NSPasteboard
public func detectedPatterns(for keyPaths: Swift.Set<Swift.PartialKeyPath<AppKit.NSPasteboard.DetectedValues>>) async throws -> Swift.Set<Swift.PartialKeyPath<AppKit.NSPasteboard.DetectedValues>>
NSPasteboard
public func detectedValues(for keyPaths: Swift.Set<Swift.PartialKeyPath<AppKit.NSPasteboard.DetectedValues>>) async throws -> AppKit.NSPasteboard.DetectedValues
NSPasteboardItem
public func detectedMetadata(for keyPaths: Swift.Set<Swift.PartialKeyPath<AppKit.NSPasteboardItem.DetectedMetadata>>) async throws -> AppKit.NSPasteboardItem.DetectedMetadata
NSPasteboardItem
public func detectedPatterns(for keyPaths: Swift.Set<Swift.PartialKeyPath<AppKit.NSPasteboardItem.DetectedValues>>) async throws -> Swift.Set<Swift.PartialKeyPath<AppKit.NSPasteboardItem.DetectedValues>>
NSPasteboardItem
public func detectedValues(for keyPaths: Swift.Set<Swift.PartialKeyPath<AppKit.NSPasteboardItem.DetectedValues>>) async throws -> AppKit.NSPasteboardItem.DetectedValues
NSPasteboard
- (void)detectPatternsForPatterns:(nonnull NSSet<NSPasteboardDetectionPattern> *)patterns completionHandler:(nonnull void (^)(NSSet<NSPasteboardDetectionPattern> * _Nullable, NSError * _Nullable))completionHandler;
NSPasteboard
- (void)detectValuesForPatterns:(nonnull NSSet<NSPasteboardDetectionPattern> *)patterns completionHandler:(nonnull void (^)(NSDictionary<NSPasteboardDetectionPattern,id> * _Nullable, NSError * _Nullable))completionHandler;
NSPasteboard
- (void)detectMetadataForTypes:(nonnull NSSet<NSPasteboardMetadataType> *)types completionHandler:(nonnull void (^)(NSDictionary<NSPasteboardMetadataType,id> * _Nullable, NSError * _Nullable))completionHandler;
NSTextInputContext
- (void)textInputClientDidUpdateSelection;
NSTextInputContext
- (void)textInputClientDidScroll;
NSPasteboardItem
- (void)detectPatternsForPatterns:(nonnull NSSet<NSPasteboardDetectionPattern> *)patterns completionHandler:(nonnull void (^)(NSSet<NSPasteboardDetectionPattern> * _Nullable, NSError * _Nullable))completionHandler;
NSPasteboardItem
- (void)detectValuesForPatterns:(nonnull NSSet<NSPasteboardDetectionPattern> *)patterns completionHandler:(nonnull void (^)(NSDictionary<NSPasteboardDetectionPattern,id> * _Nullable, NSError * _Nullable))completionHandler;
NSPasteboardItem
- (void)detectMetadataForTypes:(nonnull NSSet<NSPasteboardMetadataType> *)types completionHandler:(nonnull void (^)(NSDictionary<NSPasteboardMetadataType,id> * _Nullable, NSError * _Nullable))completionHandler;

Properties & Constants

NSPasteboard
@objc dynamic public var accessBehavior: AppKit.NSPasteboard.AccessBehavior
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternProbableWebURL
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternProbableWebSearch
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternNumber
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternLink
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternPhoneNumber
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternEmailAddress
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternPostalAddress
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternCalendarEvent
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternShipmentTrackingNumber
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternFlightNumber
extern NS_REFINED_FOR_SWIFT const NSPasteboardDetectionPattern NSPasteboardDetectionPatternMoneyAmount
extern NS_REFINED_FOR_SWIFT const NSPasteboardMetadataType NSPasteboardMetadataTypeContentType
NSPasteboard
@property(atomic, assign, unsafe_unretained, readonly) NSPasteboardAccessBehavior accessBehavior;
NSTextField
@property(atomic, assign, unsafe_unretained, readwrite) BOOL allowsWritingToolsAffordance;

Enum Cases

enum (unnamed at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKitErrors.h:15:1)
NSPasteboardMiscellaneousError = 67584
enum (unnamed at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKitErrors.h:15:1)
NSPasteboardCommunicationError = 67585
enum (unnamed at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKitErrors.h:15:1)
NSPasteboardInvalidArgumentError = 67586
enum (unnamed at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKitErrors.h:15:1)
NSPasteboardContentsNotAvailableError = 67587
enum (unnamed at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKitErrors.h:15:1)
NSPasteboardErrorMinimum = 67584
enum (unnamed at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKitErrors.h:15:1)
NSPasteboardErrorMaximum = 67839