API Differences in CoreTransferable in macOS 15.2

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 CoreTransferable in the macOS 15.2 SDK.

Table of Contents

Functions & Methods

Transferable
public func export(to destinationDirectory: Foundation.URL, contentType: UniformTypeIdentifiers.UTType?) async throws -> Foundation.URL
Transferable
public func exported(as contentType: UniformTypeIdentifiers.UTType?) async throws -> Foundation.Data
Transferable
public static func exportedContentTypes(visibility: CoreTransferable.TransferRepresentationVisibility = .all) -> [UniformTypeIdentifiers.UTType]
Transferable
public func exportedContentTypes(_ visibility: CoreTransferable.TransferRepresentationVisibility = .all) -> [UniformTypeIdentifiers.UTType]
Transferable
public static func importedContentTypes() -> [UniformTypeIdentifiers.UTType]
Transferable
public func importedContentTypes() -> [UniformTypeIdentifiers.UTType]
Transferable
public func withExportedFile<Result>(contentType: UniformTypeIdentifiers.UTType?, fileHandler: (Foundation.URL) async throws -> Result) async throws -> Result

Properties & Constants

Transferable
public var suggestedFilename: Swift.String?

Initializers

Transferable
public init(importing file: Foundation.URL, contentType: UniformTypeIdentifiers.UTType?) async throws
Transferable
public init(importing data: Foundation.Data, contentType: UniformTypeIdentifiers.UTType?) async throws